Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase7,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_11_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.006595/0.006595, allocations: 101.1 kB / 15.73 MB, free: 6.066 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.00174/0.00174, allocations: 189.6 kB / 16.67 MB, free: 5.977 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.371/1.371, 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 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 75.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.707, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.171/0.8781, allocations: 157.9 MB / 1.374 GB, free: 3.516 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02615/0.9043, allocations: 22.13 MB / 1.396 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.9061, allocations: 71.56 kB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.908, allocations: 1.375 MB / 1.397 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.9095, allocations: 1.016 MB / 1.398 GB, free: 10.85 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.9111, allocations: 0.6563 MB / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.9128, allocations: 1.684 MB / 1.401 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.9139, allocations: 0.9668 MB / 1.402 GB, free: 7.516 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.9148, allocations: 0.7319 MB / 1.402 GB, free: 6.781 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.9161, allocations: 1.188 MB / 1.403 GB, free: 5.594 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.9163, allocations: 92 kB / 1.404 GB, free: 5.504 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.9166, allocations: 152 kB / 1.404 GB, free: 5.355 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.917, allocations: 412.3 kB / 1.404 GB, free: 4.953 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005807/0.9175, allocations: 0.6558 MB / 1.405 GB, free: 4.293 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9192, allocations: 1.609 MB / 1.406 GB, free: 2.68 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9192, allocations: 4 kB / 1.406 GB, free: 2.676 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9192, allocations: 0 / 1.406 GB, free: 2.676 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.9193, allocations: 0 / 1.406 GB, free: 2.676 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.002953/0.9222, allocations: 1.976 MB / 1.408 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9223, allocations: 12.03 kB / 1.408 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.9224, allocations: 106.7 kB / 1.408 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.9227, allocations: 195.7 kB / 1.409 GB, free: 328 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.9239, allocations: 0.8958 MB / 1.409 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.9241, allocations: 83 kB / 1.409 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.9242, allocations: 64 kB / 1.41 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.9255, allocations: 0.7254 MB / 1.41 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.9255, allocations: 3.953 kB / 1.41 GB, free: 14.47 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.9256, allocations: 31.98 kB / 1.41 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.9256, allocations: 23.92 kB / 1.41 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.9268, allocations: 0.5399 MB / 1.411 GB, free: 13.88 MB / 1.139 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.004576/0.9314, allocations: 3.61 MB / 1.414 GB, free: 9.98 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.9328, allocations: 0.612 MB / 1.415 GB, free: 9.355 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/0.9336, allocations: 380.5 kB / 1.415 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.9336, allocations: 12.5 kB / 1.415 GB, free: 8.973 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007703/0.9344, allocations: 378.9 kB / 1.416 GB, free: 8.594 MB / 1.139 GB Notification: Performance of pre-optimization done (n=65): time 4.268e-06/0.9344, allocations: 0 / 1.416 GB, free: 8.594 MB / 1.139 GB Notification: Performance of matching and sorting (n=65): time 0.005074/0.9395, allocations: 1.793 MB / 1.417 GB, free: 6.75 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.9396, allocations: 63.91 kB / 1.417 GB, free: 6.676 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.942, allocations: 2.255 MB / 1.42 GB, free: 4.414 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.942, allocations: 41.7 kB / 1.42 GB, free: 4.367 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.9427, allocations: 0.7231 MB / 1.42 GB, free: 3.641 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.9429, allocations: 226.1 kB / 1.421 GB, free: 3.418 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9431, allocations: 122.7 kB / 1.421 GB, free: 3.293 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9432, allocations: 338 kB / 1.421 GB, free: 2.957 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.9439, allocations: 277.8 kB / 1.421 GB, free: 2.684 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.9446, allocations: 424.8 kB / 1.422 GB, free: 2.219 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.9459, allocations: 0.6591 MB / 1.422 GB, free: 1.508 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9459, allocations: 4 kB / 1.422 GB, free: 1.504 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002325/0.9482, allocations: 1.123 MB / 1.424 GB, free: 380 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.9483, allocations: 11.98 kB / 1.424 GB, free: 368 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.9483, allocations: 4 kB / 1.424 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.9491, allocations: 273.5 kB / 1.424 GB, free: 88 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.9496, allocations: 119.8 kB / 1.424 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/0.955, allocations: 3.71 MB / 1.428 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.9556, allocations: 87.52 kB / 1.428 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.9556, allocations: 28 kB / 1.428 GB, free: 12.02 MB / 1.154 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.0005993/0.9562, allocations: 471.7 kB / 1.428 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.9564, allocations: 166.9 kB / 1.428 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.9567, allocations: 191.6 kB / 1.428 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9567, allocations: 4 kB / 1.428 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.9567, allocations: 7.938 kB / 1.428 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.9567, allocations: 3.984 kB / 1.428 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.9602, allocations: 2.038 MB / 1.43 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9602, allocations: 4 kB / 1.43 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.9605, allocations: 51.91 kB / 1.43 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/0.9612, allocations: 273.5 kB / 1.431 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.9613, allocations: 20 kB / 1.431 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006272/0.9676, allocations: 5.247 MB / 1.436 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9676, allocations: 3.984 kB / 1.436 GB, free: 3.191 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.9703, allocations: 1.41 MB / 1.437 GB, free: 1.762 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.9707, allocations: 279.8 kB / 1.438 GB, free: 1.469 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.9708, allocations: 12 kB / 1.438 GB, free: 1.457 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.9712, allocations: 31.97 kB / 1.438 GB, free: 1.426 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.9714, allocations: 76.45 kB / 1.438 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.9715, allocations: 23.98 kB / 1.438 GB, free: 1.328 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001853/0.9733, allocations: 1.631 MB / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9733, allocations: 0 / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009111/0.9742, allocations: 263.7 kB / 1.44 GB, free: 15.45 MB / 1.17 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.004667/0.9789, allocations: 2.352 MB / 1.442 GB, free: 13.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.9809, allocations: 0.9093 MB / 1.443 GB, free: 12.33 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9809, allocations: 4.125 kB / 1.443 GB, free: 12.33 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.9821, allocations: 0.6709 MB / 1.443 GB, free: 11.63 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.9835, allocations: 290.6 kB / 1.444 GB, free: 11.36 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.9998, allocations: 11.04 MB / 1.454 GB, free: 28 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.001, allocations: 1.314 MB / 1.456 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004065/1.001, allocations: 118.4 kB / 1.456 GB, free: 14.56 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/1.002, allocations: 0.5422 MB / 1.456 GB, free: 14.02 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/1.002, allocations: 0 / 1.456 GB, free: 14.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.9/2.902, allocations: 29.2 MB / 1.485 GB, free: 1.18 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.73/28.63, allocations: 10.06 kB / 1.485 GB, free: 1.172 MB / 1.201 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)