Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 64.27 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.166/0.4324, allocations: 156.8 MB / 1.217 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.4563, allocations: 21.73 MB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.4577, allocations: 47.75 kB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.4593, allocations: 1.169 MB / 1.24 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.4605, allocations: 0.8601 MB / 1.24 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.4615, allocations: 441.8 kB / 1.241 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.4627, allocations: 1.255 MB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.4634, allocations: 0.691 MB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.464, allocations: 0.5452 MB / 1.243 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009771/0.465, allocations: 0.9177 MB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.4651, allocations: 64 kB / 1.244 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.4654, allocations: 111.9 kB / 1.244 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.4656, allocations: 316.7 kB / 1.245 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.4661, allocations: 496.8 kB / 1.245 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4671, allocations: 1.179 MB / 1.246 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4671, allocations: 4 kB / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4671, allocations: 0 / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.4672, allocations: 0 / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002098/0.4693, allocations: 1.475 MB / 1.248 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4693, allocations: 12.03 kB / 1.248 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.629e-05/0.4694, allocations: 82.7 kB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.4696, allocations: 135.2 kB / 1.248 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.4704, allocations: 0.6626 MB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.4705, allocations: 70.69 kB / 1.249 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.4706, allocations: 48 kB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3985/0.8691, allocations: 0.5107 MB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.8692, allocations: 3.109 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.8692, allocations: 21.39 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.8692, allocations: 10.78 kB / 1.249 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.8701, allocations: 411.6 kB / 1.25 GB, free: 189.9 MB / 0.9981 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.003259/0.8734, allocations: 2.808 MB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.8744, allocations: 457.7 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.8749, allocations: 282.7 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.8749, allocations: 10.98 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.8754, allocations: 293.7 kB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.145e-06/0.8755, allocations: 0 / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002672/0.8781, allocations: 1.245 MB / 1.255 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.8782, allocations: 67.83 kB / 1.255 GB, free: 188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.8797, allocations: 1.748 MB / 1.256 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.8797, allocations: 44.2 kB / 1.256 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.88, allocations: 0.5131 MB / 1.257 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.8801, allocations: 146.9 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.8802, allocations: 100.7 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.8802, allocations: 327.5 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.8807, allocations: 218.3 kB / 1.258 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.8811, allocations: 328.9 kB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.8818, allocations: 0.5136 MB / 1.258 GB, free: 187 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8818, allocations: 0 / 1.258 GB, free: 187 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001352/0.8832, allocations: 0.8408 MB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8832, allocations: 7.281 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8832, allocations: 11.64 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.8837, allocations: 184.5 kB / 1.259 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.884, allocations: 96.23 kB / 1.26 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.8867, allocations: 2.998 MB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.8871, allocations: 78.83 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.8871, allocations: 24.61 kB / 1.263 GB, free: 185.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.8875, allocations: 382.1 kB / 1.263 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.8876, allocations: 110.3 kB / 1.263 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.8878, allocations: 142.3 kB / 1.263 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8878, allocations: 13.41 kB / 1.263 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.8878, allocations: 4.469 kB / 1.263 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8878, allocations: 2.156 kB / 1.263 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.8899, allocations: 1.566 MB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8899, allocations: 0.6094 kB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.8901, allocations: 43.92 kB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.8905, allocations: 194 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.8906, allocations: 18.89 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.8937, allocations: 4.561 MB / 1.269 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8937, allocations: 0 / 1.269 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.8954, allocations: 1.059 MB / 1.27 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.8957, allocations: 219.9 kB / 1.271 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.8958, allocations: 17.89 kB / 1.271 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.8961, allocations: 26.14 kB / 1.271 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.8962, allocations: 54.62 kB / 1.271 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.8962, allocations: 17.5 kB / 1.271 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001292/0.8975, allocations: 1.28 MB / 1.272 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8975, allocations: 5.5 kB / 1.272 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00074/0.8983, allocations: 202.6 kB / 1.272 GB, free: 179.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003297/0.9016, allocations: 1.976 MB / 1.274 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.9033, allocations: 0.7493 MB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9033, allocations: 0.5625 kB / 1.275 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.9042, allocations: 0.5549 MB / 1.275 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/0.9052, allocations: 198.5 kB / 1.276 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.9163, allocations: 9.143 MB / 1.285 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.917, allocations: 1.156 MB / 1.286 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.9173, allocations: 85.25 kB / 1.286 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.9177, allocations: 405 kB / 1.286 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.9177, allocations: 1.219 kB / 1.286 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/2.405, allocations: 20.87 MB / 1.307 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/20.6, allocations: 8.594 kB / 1.307 GB, free: 159.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)