Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.572/1.572, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001239/0.001239, allocations: 175.5 kB / 393.1 MB, free: 4.098 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.201/1.201, 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.0007534/0.0007535, allocations: 96.33 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 9.781 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4319, allocations: 121.3 MB / 1.041 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1234/0.5553, allocations: 148.4 MB / 1.186 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02799/0.5833, allocations: 30.01 MB / 1.215 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.5852, allocations: 63.62 kB / 1.215 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.5868, allocations: 0.9063 MB / 1.216 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.5899, allocations: 1.511 MB / 1.218 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.593, allocations: 1.489 MB / 1.219 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.5978, allocations: 5.038 MB / 1.224 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004054/0.6019, allocations: 3.495 MB / 1.227 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.6035, allocations: 1.375 MB / 1.229 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.6055, allocations: 1.894 MB / 1.231 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.6058, allocations: 108 kB / 1.231 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6073, allocations: 0.6827 MB / 1.231 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005706/0.6078, allocations: 0.7272 MB / 1.232 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.6091, allocations: 1.562 MB / 1.234 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.6132, allocations: 5.298 MB / 1.239 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6132, allocations: 0 / 1.239 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6133, allocations: 3.938 kB / 1.239 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.232e-05/0.6133, allocations: 0 / 1.239 GB, free: 9.844 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.006354/0.6197, allocations: 3.792 MB / 1.242 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6197, allocations: 16.02 kB / 1.242 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.6318, allocations: 2.886 MB / 1.245 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.6353, allocations: 2.251 MB / 1.247 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.6355, allocations: 246.5 kB / 1.248 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.636, allocations: 319.9 kB / 1.248 GB, free: 192 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009646/0.6456, allocations: 5.155 MB / 1.253 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.6457, allocations: 0 / 1.253 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.646, allocations: 132 kB / 1.253 GB, free: 10.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.6461, allocations: 80 kB / 1.253 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.6588, allocations: 6.358 MB / 1.259 GB, free: 4.375 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.02047/0.6793, allocations: 14.56 MB / 1.274 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008952/0.6883, allocations: 4.497 MB / 1.278 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004604/0.6929, allocations: 2.475 MB / 1.28 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007853/0.6937, allocations: 0.6774 MB / 1.281 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004656/0.6984, allocations: 2.461 MB / 1.284 GB, free: 11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=270): time 4.438e-06/0.6984, allocations: 0 / 1.284 GB, free: 11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=270): time 0.01625/0.7146, allocations: 7.555 MB / 1.291 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.7147, allocations: 210 kB / 1.291 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.7174, allocations: 2.365 MB / 1.293 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.7176, allocations: 73.7 kB / 1.293 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009605/0.7186, allocations: 1.349 MB / 1.295 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006835/0.7192, allocations: 0.8932 MB / 1.296 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.7194, allocations: 51.94 kB / 1.296 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7196, allocations: 406.8 kB / 1.296 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/0.7237, allocations: 1.968 MB / 1.298 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.728, allocations: 2.261 MB / 1.3 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008389/0.7364, allocations: 4.224 MB / 1.304 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7364, allocations: 0 / 1.304 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009994/0.7464, allocations: 4.955 MB / 1.309 GB, free: 248 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7465, allocations: 8 kB / 1.309 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.7465, allocations: 4 kB / 1.309 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/0.7473, allocations: 343.1 kB / 1.31 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.7508, allocations: 0.7839 MB / 1.31 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.7555, allocations: 3.915 MB / 1.314 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.7587, allocations: 0.5479 MB / 1.315 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/0.759, allocations: 115.9 kB / 1.315 GB, free: 10.39 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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001567/0.7606, allocations: 0.9188 MB / 1.316 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/0.7611, allocations: 280.6 kB / 1.316 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.7727, allocations: 5.538 MB / 1.321 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.7728, allocations: 28 kB / 1.321 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7728, allocations: 8 kB / 1.321 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.7728, allocations: 11.95 kB / 1.321 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3442/1.117, allocations: 9.276 MB / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.117, allocations: 0 / 1.33 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/1.121, allocations: 0.7325 MB / 1.331 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/1.122, allocations: 382.1 kB / 1.332 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.122, allocations: 78.78 kB / 1.332 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/1.127, allocations: 5.785 MB / 1.337 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.127, allocations: 0 / 1.337 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.14, allocations: 7.914 MB / 1.345 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.142, allocations: 0.8468 MB / 1.346 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.142, allocations: 51.91 kB / 1.346 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.145, allocations: 428.5 kB / 1.346 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.145, allocations: 173.3 kB / 1.346 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.145, allocations: 99.86 kB / 1.347 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001859/1.147, allocations: 1.717 MB / 1.348 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.147, allocations: 0 / 1.348 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002118/1.149, allocations: 1.037 MB / 1.349 GB, free: 223.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.00201/1.151, allocations: 1.156 MB / 1.35 GB, free: 223 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008482/1.16, allocations: 4.799 MB / 1.355 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.16, allocations: 0 / 1.355 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004455/1.164, allocations: 2.761 MB / 1.358 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.167, allocations: 0.6161 MB / 1.358 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.178, allocations: 9.44 MB / 1.368 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.18, allocations: 2.453 MB / 1.37 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003905/1.183, allocations: 1.105 MB / 1.371 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.185, allocations: 266.7 kB / 1.371 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/1.185, allocations: 0 / 1.371 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.06579/1.25, allocations: 43.66 MB / 1.414 GB, free: 200.3 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)