Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.04/2.04, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 193.2 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 105.8 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 57.11 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2408, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12): time 0.128/0.3688, allocations: 159.8 MB / 1.374 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.3945, allocations: 23.12 MB / 1.397 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3968, allocations: 59.62 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.3997, allocations: 2.529 MB / 1.399 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.4034, allocations: 2.13 MB / 1.401 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.4059, allocations: 1.035 MB / 1.402 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004146/0.4101, allocations: 3.962 MB / 1.406 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.4117, allocations: 1.493 MB / 1.408 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4131, allocations: 1.246 MB / 1.409 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.4151, allocations: 2.106 MB / 1.411 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.4153, allocations: 76 kB / 1.411 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.4165, allocations: 0.5576 MB / 1.412 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005458/0.417, allocations: 0.6677 MB / 1.412 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.4179, allocations: 1.009 MB / 1.413 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.4205, allocations: 2.725 MB / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4205, allocations: 0 / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4205, allocations: 0 / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.4206, allocations: 0 / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004254/0.4248, allocations: 2.937 MB / 1.419 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4249, allocations: 15.98 kB / 1.419 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.4253, allocations: 305.2 kB / 1.419 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.4274, allocations: 1.494 MB / 1.421 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4276, allocations: 111.7 kB / 1.421 GB, free: 5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.4277, allocations: 99.98 kB / 1.421 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4295, allocations: 1.096 MB / 1.422 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.4295, allocations: 8 kB / 1.422 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.4296, allocations: 39.98 kB / 1.422 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.4297, allocations: 24 kB / 1.422 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.4312, allocations: 0.8705 MB / 1.423 GB, free: 2.844 MB / 0.9167 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.4586/0.8898, allocations: 5.227 MB / 1.428 GB, free: 204.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.8916, allocations: 0.9385 MB / 1.429 GB, free: 204 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.8925, allocations: 0.5249 MB / 1.429 GB, free: 203.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.8928, allocations: 0.5089 MB / 1.43 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009706/0.8938, allocations: 0.5552 MB / 1.43 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=95): time 3.416e-06/0.8938, allocations: 0 / 1.43 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=95): time 0.004349/0.8982, allocations: 2.151 MB / 1.432 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.8982, allocations: 67.38 kB / 1.432 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.9027, allocations: 3.906 MB / 1.436 GB, free: 201 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.9028, allocations: 49.67 kB / 1.436 GB, free: 201 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/0.9036, allocations: 1.141 MB / 1.437 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.9038, allocations: 312.4 kB / 1.438 GB, free: 200 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.9041, allocations: 172.9 kB / 1.438 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.9042, allocations: 344.5 kB / 1.438 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/0.905, allocations: 404.4 kB / 1.439 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.9059, allocations: 0.5638 MB / 1.439 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.9074, allocations: 0.9665 MB / 1.44 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9075, allocations: 6.016 kB / 1.44 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002714/0.9102, allocations: 1.486 MB / 1.442 GB, free: 198 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9102, allocations: 7.219 kB / 1.442 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9102, allocations: 4.969 kB / 1.442 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.9108, allocations: 227.1 kB / 1.442 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.9115, allocations: 196.8 kB / 1.442 GB, free: 198 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.9152, allocations: 4.231 MB / 1.446 GB, free: 194.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/0.9162, allocations: 137.3 kB / 1.446 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/0.9163, allocations: 39.48 kB / 1.446 GB, free: 194.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 35 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * 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): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.9174, allocations: 0.7379 MB / 1.447 GB, free: 194.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.9177, allocations: 256.9 kB / 1.447 GB, free: 194 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.9203, allocations: 1.48 MB / 1.449 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.9203, allocations: 15.25 kB / 1.449 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.9203, allocations: 7.938 kB / 1.449 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001992/0.9223, allocations: 1.358 MB / 1.45 GB, free: 192.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.9282, allocations: 3.087 MB / 1.453 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.9282, allocations: 1.125 kB / 1.453 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.9287, allocations: 121.7 kB / 1.453 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006487/0.9293, allocations: 262.5 kB / 1.453 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.9294, allocations: 29.73 kB / 1.453 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.9327, allocations: 4.787 MB / 1.458 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9327, allocations: 4.672 kB / 1.458 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.9508, allocations: 16.91 MB / 1.475 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.9514, allocations: 389.6 kB / 1.475 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.9516, allocations: 27.98 kB / 1.475 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.9521, allocations: 75.84 kB / 1.475 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.9523, allocations: 92.75 kB / 1.475 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.9524, allocations: 37.09 kB / 1.475 GB, free: 171 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002207/0.9546, allocations: 2.847 MB / 1.478 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.12e-07/0.9546, allocations: 4 kB / 1.478 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00179/0.9564, allocations: 0.6263 MB / 1.479 GB, free: 167.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * 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 {(2,14,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.001224/0.9577, allocations: 0.6354 MB / 1.479 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.9597, allocations: 1.305 MB / 1.48 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9597, allocations: 0 / 1.48 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.9608, allocations: 0.8377 MB / 1.481 GB, free: 165 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.9628, allocations: 487.9 kB / 1.482 GB, free: 164.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.9692, allocations: 6.937 MB / 1.489 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.9702, allocations: 1.806 MB / 1.49 GB, free: 155.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007857/0.971, allocations: 255.5 kB / 1.491 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.9712, allocations: 103.4 kB / 1.491 GB, free: 155.3 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.9713, allocations: 4 kB / 1.491 GB, free: 155.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.03639/1.008, allocations: 25.17 MB / 1.515 GB, free: 130.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe 2>&1)