Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002627/0.002627, allocations: 212.5 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.39 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 176.1 MB / 1.325 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00368/0.3501, allocations: 2.197 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.5301, allocations: 133.6 MB / 1.458 GB, free: 9.547 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.5304, allocations: 3.938 kB / 1.458 GB, free: 9.543 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.5307, allocations: 51.47 kB / 1.458 GB, free: 9.492 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.5311, allocations: 95.19 kB / 1.458 GB, free: 9.398 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.5322, allocations: 307 kB / 1.459 GB, free: 9.098 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.5328, allocations: 427.7 kB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.533, allocations: 80.25 kB / 1.459 GB, free: 8.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.5347, allocations: 288.6 kB / 1.459 GB, free: 8.332 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.535, allocations: 175.2 kB / 1.459 GB, free: 8.16 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.535, allocations: 28 kB / 1.46 GB, free: 8.133 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.5356, allocations: 267.6 kB / 1.46 GB, free: 7.871 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5357, allocations: 83.72 kB / 1.46 GB, free: 7.789 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.5359, allocations: 135.3 kB / 1.46 GB, free: 7.656 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.5367, allocations: 0.4942 MB / 1.46 GB, free: 7.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5367, allocations: 0 / 1.46 GB, free: 7.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5367, allocations: 0 / 1.46 GB, free: 7.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.5367, allocations: 0 / 1.46 GB, free: 7.16 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00161/0.5383, allocations: 0.6453 MB / 1.461 GB, free: 6.484 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5384, allocations: 8.031 kB / 1.461 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.5413, allocations: 287.6 kB / 1.461 GB, free: 6.195 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.5419, allocations: 241.6 kB / 1.462 GB, free: 5.934 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.5419, allocations: 24.66 kB / 1.462 GB, free: 5.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.542, allocations: 24 kB / 1.462 GB, free: 5.887 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5435, allocations: 437.7 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5435, allocations: 0 / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.5435, allocations: 8 kB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5435, allocations: 11.94 kB / 1.462 GB, free: 5.434 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.5458, allocations: 0.5217 MB / 1.463 GB, free: 4.91 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.549, allocations: 0.9601 MB / 1.464 GB, free: 3.918 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.5512, allocations: 444.4 kB / 1.464 GB, free: 3.477 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5523, allocations: 219.3 kB / 1.464 GB, free: 3.262 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.5523, allocations: 4 kB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5524, allocations: 38.56 kB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.5524, allocations: 0 / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01541/0.5678, allocations: 1.572 MB / 1.466 GB, free: 1.625 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.5678, allocations: 63.39 kB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.5681, allocations: 216.9 kB / 1.466 GB, free: 1.332 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.5681, allocations: 33.7 kB / 1.466 GB, free: 1.293 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.5683, allocations: 176.5 kB / 1.466 GB, free: 1.117 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5684, allocations: 91.22 kB / 1.466 GB, free: 1.027 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.5686, allocations: 69.92 kB / 1.466 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5687, allocations: 338.8 kB / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.5698, allocations: 196.4 kB / 1.467 GB, free: 428 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.571, allocations: 365.7 kB / 1.467 GB, free: 16 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.5731, allocations: 442.9 kB / 1.468 GB, free: 15.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5731, allocations: 3.938 kB / 1.468 GB, free: 15.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006912/0.58, allocations: 0.8889 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.58, allocations: 4 kB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5801, allocations: 0 / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.582, allocations: 277.4 kB / 1.469 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.5825, allocations: 71.88 kB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.5972, allocations: 3.808 MB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.5981, allocations: 59.92 kB / 1.473 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.5981, allocations: 23.97 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002433/0.5984, allocations: 141.7 kB / 1.473 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.5985, allocations: 27.81 kB / 1.473 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/0.6055, allocations: 0.9497 MB / 1.474 GB, free: 9.086 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6055, allocations: 0 / 1.474 GB, free: 9.086 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6055, allocations: 4 kB / 1.474 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6055, allocations: 0 / 1.474 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.606, allocations: 304.8 kB / 1.474 GB, free: 8.754 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.606, allocations: 3.984 kB / 1.474 GB, free: 8.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.6064, allocations: 55.89 kB / 1.474 GB, free: 8.695 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.6081, allocations: 281.3 kB / 1.474 GB, free: 8.414 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.6082, allocations: 15.97 kB / 1.474 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.6223, allocations: 3.793 MB / 1.478 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6223, allocations: 4 kB / 1.478 GB, free: 4.395 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.6294, allocations: 0.9533 MB / 1.479 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.6295, allocations: 35.72 kB / 1.479 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.6295, allocations: 0 / 1.479 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.6303, allocations: 43.95 kB / 1.479 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.6304, allocations: 19.97 kB / 1.479 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.6304, allocations: 19.97 kB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001861/0.6306, allocations: 164.5 kB / 1.479 GB, free: 3.137 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6306, allocations: 0 / 1.479 GB, free: 3.137 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000644/0.6312, allocations: 123.8 kB / 1.479 GB, free: 3.016 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002569/0.6315, allocations: 131.2 kB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.6343, allocations: 0.7078 MB / 1.48 GB, free: 2.148 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6343, allocations: 0 / 1.48 GB, free: 2.148 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.6359, allocations: 497.1 kB / 1.481 GB, free: 1.637 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.6365, allocations: 76.25 kB / 1.481 GB, free: 1.562 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.6391, allocations: 0.6962 MB / 1.481 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.6393, allocations: 163.7 kB / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.6397, allocations: 70.19 kB / 1.482 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.6398, allocations: 31.42 kB / 1.482 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of SimCode: time 6.31e-07/0.6398, allocations: 0 / 1.482 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of Templates: time 0.02198/0.6618, allocations: 13.76 MB / 1.495 GB, free: 2.906 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.529394580051303]