Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006535/0.006535, allocations: 96.7 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 200.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.577/2.577, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2665, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.6496/0.9161, allocations: 157.9 MB / 1.396 GB, free: 176 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.9393, allocations: 22.14 MB / 1.418 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.9407, allocations: 60.72 kB / 1.418 GB, free: 14 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.9423, allocations: 1.384 MB / 1.419 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.9437, allocations: 1.007 MB / 1.42 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.9449, allocations: 0.647 MB / 1.421 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.9464, allocations: 1.693 MB / 1.422 GB, free: 11.17 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.9474, allocations: 0.9666 MB / 1.423 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.9481, allocations: 0.7364 MB / 1.424 GB, free: 10.15 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.9493, allocations: 1.2 MB / 1.425 GB, free: 9.578 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.9494, allocations: 90.97 kB / 1.425 GB, free: 9.578 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.9497, allocations: 132.1 kB / 1.425 GB, free: 9.566 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.95, allocations: 423 kB / 1.426 GB, free: 9.285 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.9505, allocations: 0.6478 MB / 1.426 GB, free: 8.797 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.9519, allocations: 1.616 MB / 1.428 GB, free: 7.652 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.952, allocations: 0 / 1.428 GB, free: 7.652 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.152e-06/0.952, allocations: 0 / 1.428 GB, free: 7.652 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.952, allocations: 2.406 kB / 1.428 GB, free: 7.652 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002635/0.9546, allocations: 1.976 MB / 1.43 GB, free: 6.125 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.9547, allocations: 7.25 kB / 1.43 GB, free: 6.125 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.9548, allocations: 109.1 kB / 1.43 GB, free: 6.031 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.955, allocations: 195.9 kB / 1.43 GB, free: 5.926 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.9561, allocations: 0.9057 MB / 1.431 GB, free: 5.199 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.9563, allocations: 89.72 kB / 1.431 GB, free: 5.141 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.9564, allocations: 69.77 kB / 1.431 GB, free: 5.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.9575, allocations: 0.7176 MB / 1.432 GB, free: 4.344 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.9576, allocations: 4 kB / 1.432 GB, free: 4.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.9576, allocations: 24 kB / 1.432 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.9577, allocations: 16 kB / 1.432 GB, free: 4.301 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.9587, allocations: 0.5399 MB / 1.433 GB, free: 3.762 MB / 1.123 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.004205/0.963, allocations: 3.617 MB / 1.436 GB, free: 15.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.9642, allocations: 0.6003 MB / 1.437 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.9649, allocations: 381.3 kB / 1.437 GB, free: 14.88 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.965, allocations: 12.5 kB / 1.437 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.9657, allocations: 378.9 kB / 1.437 GB, free: 14.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=65): time 1.923e-06/0.9657, allocations: 0 / 1.437 GB, free: 14.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=65): time 0.004649/0.9703, allocations: 1.797 MB / 1.439 GB, free: 12.64 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9704, allocations: 63.97 kB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.9726, allocations: 2.259 MB / 1.441 GB, free: 10.3 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.9727, allocations: 41.7 kB / 1.441 GB, free: 10.25 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.9733, allocations: 0.7193 MB / 1.442 GB, free: 9.527 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.9735, allocations: 226.1 kB / 1.442 GB, free: 9.305 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.9737, allocations: 130.6 kB / 1.443 GB, free: 9.172 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9738, allocations: 334 kB / 1.443 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.9744, allocations: 277.8 kB / 1.443 GB, free: 8.566 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.9751, allocations: 422.4 kB / 1.444 GB, free: 8.105 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.9763, allocations: 0.6609 MB / 1.444 GB, free: 7.391 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.9763, allocations: 4 kB / 1.444 GB, free: 7.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002149/0.9785, allocations: 1.125 MB / 1.445 GB, free: 6.254 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9785, allocations: 8 kB / 1.445 GB, free: 6.246 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9785, allocations: 4 kB / 1.445 GB, free: 6.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007415/0.9792, allocations: 274.8 kB / 1.446 GB, free: 5.973 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.9797, allocations: 123.8 kB / 1.446 GB, free: 5.852 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.9846, allocations: 3.703 MB / 1.449 GB, free: 2.023 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.9851, allocations: 91.53 kB / 1.449 GB, free: 1.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.9851, allocations: 28 kB / 1.449 GB, free: 1.906 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005186/0.9857, allocations: 467.8 kB / 1.45 GB, free: 1.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.9858, allocations: 162.9 kB / 1.45 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.9861, allocations: 191.7 kB / 1.45 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9861, allocations: 8 kB / 1.45 GB, free: 1.074 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9861, allocations: 3.938 kB / 1.45 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9861, allocations: 7.922 kB / 1.45 GB, free: 1.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.9893, allocations: 2.038 MB / 1.452 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9893, allocations: 3.938 kB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.9896, allocations: 59.91 kB / 1.452 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007004/0.9903, allocations: 280 kB / 1.452 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.9903, allocations: 15.98 kB / 1.453 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/0.9961, allocations: 5.245 MB / 1.458 GB, free: 9.086 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9961, allocations: 0 / 1.458 GB, free: 9.086 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.9986, allocations: 1.395 MB / 1.459 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.9989, allocations: 284 kB / 1.459 GB, free: 7.375 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.999, allocations: 16 kB / 1.459 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.9994, allocations: 43.89 kB / 1.459 GB, free: 7.316 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.9996, allocations: 68.47 kB / 1.459 GB, free: 7.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.9996, allocations: 19.98 kB / 1.459 GB, free: 7.23 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00164/1.001, allocations: 1.635 MB / 1.461 GB, free: 5.602 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 0 / 1.461 GB, free: 5.602 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007212/1.002, allocations: 271.6 kB / 1.461 GB, free: 5.336 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00426/1.006, allocations: 2.346 MB / 1.464 GB, free: 3.145 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.008, allocations: 0.9078 MB / 1.464 GB, free: 2.223 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.008, allocations: 0 / 1.464 GB, free: 2.223 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.009, allocations: 0.6788 MB / 1.465 GB, free: 1.516 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.01, allocations: 288.3 kB / 1.465 GB, free: 1.242 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.025, allocations: 11.04 MB / 1.476 GB, free: 5.922 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.026, allocations: 1.311 MB / 1.477 GB, free: 4.582 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003003/1.026, allocations: 126.4 kB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/1.027, allocations: 0.5461 MB / 1.478 GB, free: 3.906 MB / 1.17 GB Notification: Performance of SimCode: time 2.4e-07/1.027, allocations: 0 / 1.478 GB, free: 3.906 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/2.192, allocations: 29.21 MB / 1.507 GB, free: 7.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/17.15, allocations: 10.5 kB / 1.507 GB, free: 7.086 MB / 1.201 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)