Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.TestCase11,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.008052/0.008052, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.002041/0.002041, allocations: 195.4 kB / 16.67 MB, free: 5.883 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.47/2.47, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 64.11 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7705, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.166/0.9365, allocations: 158.3 MB / 1.321 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02851/0.965, allocations: 22.24 MB / 1.342 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.9672, allocations: 63.69 kB / 1.343 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.9698, allocations: 1.975 MB / 1.344 GB, free: 12.47 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.9721, allocations: 1.343 MB / 1.346 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.974, allocations: 0.6853 MB / 1.346 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.9763, allocations: 1.966 MB / 1.348 GB, free: 8.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.9777, allocations: 1.137 MB / 1.349 GB, free: 7.312 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.9787, allocations: 0.8995 MB / 1.35 GB, free: 6.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.9802, allocations: 1.438 MB / 1.352 GB, free: 4.969 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.9804, allocations: 108 kB / 1.352 GB, free: 4.863 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.9807, allocations: 163.9 kB / 1.352 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.9811, allocations: 0.5273 MB / 1.353 GB, free: 4.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006746/0.9818, allocations: 0.8185 MB / 1.353 GB, free: 3.352 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.9838, allocations: 1.984 MB / 1.355 GB, free: 1.359 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9838, allocations: 0 / 1.355 GB, free: 1.359 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9838, allocations: 0 / 1.355 GB, free: 1.359 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.9839, allocations: 0 / 1.355 GB, free: 1.359 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003437/0.9873, allocations: 2.466 MB / 1.358 GB, free: 14.83 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.9874, allocations: 8.922 kB / 1.358 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.9875, allocations: 131 kB / 1.358 GB, free: 14.69 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.9879, allocations: 255.3 kB / 1.358 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.9892, allocations: 1.08 MB / 1.359 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.9894, allocations: 103.7 kB / 1.359 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.9895, allocations: 87.98 kB / 1.359 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.991, allocations: 0.8612 MB / 1.36 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.9911, allocations: 11.95 kB / 1.36 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.9911, allocations: 28 kB / 1.36 GB, free: 12.17 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.9912, allocations: 20 kB / 1.36 GB, free: 12.15 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.9925, allocations: 0.648 MB / 1.361 GB, free: 11.5 MB / 1.092 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.00538/0.9979, allocations: 4.162 MB / 1.365 GB, free: 7.031 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.9994, allocations: 0.7086 MB / 1.366 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/1, allocations: 415.2 kB / 1.366 GB, free: 5.91 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/1, allocations: 16.59 kB / 1.366 GB, free: 5.895 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008224/1.001, allocations: 436.1 kB / 1.366 GB, free: 5.457 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/1.001, allocations: 0 / 1.366 GB, free: 5.457 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.006136/1.007, allocations: 2.12 MB / 1.368 GB, free: 3.285 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/1.007, allocations: 89.77 kB / 1.369 GB, free: 3.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/1.011, allocations: 3.196 MB / 1.372 GB, free: 15.96 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/1.011, allocations: 53.69 kB / 1.372 GB, free: 15.9 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/1.012, allocations: 0.9605 MB / 1.373 GB, free: 14.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.012, allocations: 269.8 kB / 1.373 GB, free: 14.66 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.012, allocations: 154.7 kB / 1.373 GB, free: 14.5 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.012, allocations: 337.9 kB / 1.373 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/1.013, allocations: 313.8 kB / 1.374 GB, free: 13.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/1.014, allocations: 465.3 kB / 1.374 GB, free: 13.36 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.015, allocations: 0.7383 MB / 1.375 GB, free: 12.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.015, allocations: 4 kB / 1.375 GB, free: 12.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002467/1.018, allocations: 1.255 MB / 1.376 GB, free: 11.3 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.018, allocations: 8 kB / 1.376 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.018, allocations: 4 kB / 1.376 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/1.019, allocations: 331.6 kB / 1.376 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.019, allocations: 131.7 kB / 1.377 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/1.025, allocations: 4.061 MB / 1.381 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/1.026, allocations: 119.3 kB / 1.381 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.026, allocations: 28 kB / 1.381 GB, free: 6.492 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0007877/1.027, allocations: 0.5912 MB / 1.381 GB, free: 5.895 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/1.027, allocations: 222.5 kB / 1.381 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/1.028, allocations: 249.5 kB / 1.382 GB, free: 5.43 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.028, allocations: 11.98 kB / 1.382 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.028, allocations: 0 / 1.382 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.028, allocations: 3.984 kB / 1.382 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/1.032, allocations: 2.401 MB / 1.384 GB, free: 2.949 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.032, allocations: 0 / 1.384 GB, free: 2.949 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/1.032, allocations: 71.89 kB / 1.384 GB, free: 2.879 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009683/1.033, allocations: 349.3 kB / 1.384 GB, free: 2.531 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/1.033, allocations: 15.98 kB / 1.384 GB, free: 2.516 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007061/1.04, allocations: 5.549 MB / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.04, allocations: 3.938 kB / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.043, allocations: 1.585 MB / 1.391 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/1.044, allocations: 323.5 kB / 1.392 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.044, allocations: 27.92 kB / 1.392 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/1.044, allocations: 43.95 kB / 1.392 GB, free: 10.67 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/1.044, allocations: 92.52 kB / 1.392 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/1.044, allocations: 24 kB / 1.392 GB, free: 10.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002521/1.047, allocations: 2.341 MB / 1.394 GB, free: 8.199 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.71e-07/1.047, allocations: 4 kB / 1.394 GB, free: 8.195 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001012/1.048, allocations: 319.5 kB / 1.395 GB, free: 7.883 MB / 1.123 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004273/1.052, allocations: 2.521 MB / 1.397 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.055, allocations: 1.035 MB / 1.398 GB, free: 4.465 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.055, allocations: 0 / 1.398 GB, free: 4.465 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.056, allocations: 0.7892 MB / 1.399 GB, free: 3.648 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.057, allocations: 301 kB / 1.399 GB, free: 3.359 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.077, allocations: 13.91 MB / 1.413 GB, free: 5.176 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.079, allocations: 1.532 MB / 1.414 GB, free: 3.613 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004356/1.079, allocations: 139.1 kB / 1.414 GB, free: 3.473 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/1.08, allocations: 0.7648 MB / 1.415 GB, free: 2.707 MB / 1.139 GB Notification: Performance of SimCode: time 7.71e-07/1.08, allocations: 4 kB / 1.415 GB, free: 2.703 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/1.158, allocations: 35.97 MB / 1.45 GB, free: 14.98 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.77, allocations: 18.22 kB / 1.45 GB, free: 14.97 MB / 1.186 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)