Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.523/1.523, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.2 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.000813, allocations: 94.67 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 11.98 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4462, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1271/0.5733, allocations: 149.3 MB / 1.187 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.604, allocations: 30.27 MB / 1.216 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.6067, allocations: 63.62 kB / 1.216 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.6089, allocations: 0.9429 MB / 1.217 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.6131, allocations: 1.577 MB / 1.219 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.6171, allocations: 1.589 MB / 1.22 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006642/0.6238, allocations: 5.436 MB / 1.226 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004711/0.6285, allocations: 3.68 MB / 1.229 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.6306, allocations: 1.47 MB / 1.231 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.6331, allocations: 2.011 MB / 1.233 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004914/0.6336, allocations: 120 kB / 1.233 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.6354, allocations: 0.6983 MB / 1.233 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0007749/0.6362, allocations: 0.7856 MB / 1.234 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.638, allocations: 1.683 MB / 1.236 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.6433, allocations: 5.672 MB / 1.241 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6433, allocations: 0 / 1.241 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6433, allocations: 0 / 1.241 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001563/0.6435, allocations: 4 kB / 1.241 GB, free: 7.113 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.007791/0.6513, allocations: 4.01 MB / 1.245 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6513, allocations: 8.031 kB / 1.245 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.6635, allocations: 2.912 MB / 1.248 GB, free: 108 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.6677, allocations: 2.369 MB / 1.25 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.6679, allocations: 258.9 kB / 1.251 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008317/0.6687, allocations: 335.9 kB / 1.251 GB, free: 13.08 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.6788, allocations: 5.409 MB / 1.256 GB, free: 7.598 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.6788, allocations: 3.938 kB / 1.256 GB, free: 7.594 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.6792, allocations: 143.9 kB / 1.256 GB, free: 7.453 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.6792, allocations: 80 kB / 1.256 GB, free: 7.375 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.6926, allocations: 6.59 MB / 1.263 GB, free: 0.7734 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.715, allocations: 15.76 MB / 1.278 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007229/0.7223, allocations: 4.057 MB / 1.282 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/0.7268, allocations: 2.749 MB / 1.285 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.7276, allocations: 0.6774 MB / 1.286 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004631/0.7322, allocations: 2.561 MB / 1.288 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=288): time 4.399e-06/0.7322, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of matching and sorting (n=288): time 0.01798/0.7502, allocations: 8.414 MB / 1.296 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.7503, allocations: 218.1 kB / 1.297 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.7531, allocations: 2.481 MB / 1.299 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.7533, allocations: 73.7 kB / 1.299 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/0.7543, allocations: 1.431 MB / 1.3 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007357/0.7551, allocations: 0.9548 MB / 1.301 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.7553, allocations: 56 kB / 1.301 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7554, allocations: 415.2 kB / 1.302 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00405/0.7595, allocations: 2.054 MB / 1.304 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/0.7637, allocations: 2.368 MB / 1.306 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008333/0.7721, allocations: 4.426 MB / 1.31 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.7721, allocations: 4 kB / 1.31 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01022/0.7823, allocations: 5.315 MB / 1.316 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.7824, allocations: 7.938 kB / 1.316 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.7824, allocations: 8 kB / 1.316 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.7835, allocations: 0.55 MB / 1.316 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.7872, allocations: 0.7956 MB / 1.317 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.7935, allocations: 5.292 MB / 1.322 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.7968, allocations: 0.5751 MB / 1.323 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.7971, allocations: 115.9 kB / 1.323 GB, free: 2.051 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001581/0.7987, allocations: 0.9772 MB / 1.324 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.7991, allocations: 288.4 kB / 1.324 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3336/1.133, allocations: 5.87 MB / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/1.133, allocations: 36.12 kB / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.133, allocations: 6.438 kB / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.133, allocations: 17.7 kB / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.149, allocations: 9.884 MB / 1.34 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.149, allocations: 3.406 kB / 1.34 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.152, allocations: 0.7478 MB / 1.34 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/1.153, allocations: 0.5214 MB / 1.341 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.153, allocations: 81.14 kB / 1.341 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005977/1.159, allocations: 6.949 MB / 1.348 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.159, allocations: 6.062 kB / 1.348 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.173, allocations: 8.381 MB / 1.356 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.174, allocations: 0.8825 MB / 1.357 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.175, allocations: 56.66 kB / 1.357 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.177, allocations: 438 kB / 1.357 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/1.178, allocations: 194.8 kB / 1.357 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.178, allocations: 104.4 kB / 1.357 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001854/1.18, allocations: 1.797 MB / 1.359 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/1.18, allocations: 0 / 1.359 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002167/1.182, allocations: 1.107 MB / 1.36 GB, free: 219.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/1.184, allocations: 1.17 MB / 1.361 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008895/1.193, allocations: 5.09 MB / 1.366 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.193, allocations: 1.938 kB / 1.366 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/1.198, allocations: 2.946 MB / 1.369 GB, free: 216 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.201, allocations: 0.6703 MB / 1.37 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.213, allocations: 10.01 MB / 1.38 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/1.215, allocations: 2.552 MB / 1.382 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00401/1.219, allocations: 1.121 MB / 1.383 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.22, allocations: 266.9 kB / 1.384 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/1.22, allocations: 0 / 1.384 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.06173/1.282, allocations: 47.17 MB / 1.43 GB, free: 183.9 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)