Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.00694/0.00694, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001681/0.001681, allocations: 197.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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.503/2.503, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.666/0.668, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1707/0.8387, allocations: 157.6 MB / 1.374 GB, free: 3.859 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02714/0.8659, allocations: 22.09 MB / 1.396 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.8676, allocations: 59.62 kB / 1.396 GB, free: 13.65 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.8702, allocations: 2.175 MB / 1.398 GB, free: 11.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.8723, allocations: 1.456 MB / 1.399 GB, free: 10.01 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.8738, allocations: 0.6142 MB / 1.4 GB, free: 9.398 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.876, allocations: 1.945 MB / 1.402 GB, free: 7.445 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.8774, allocations: 1.123 MB / 1.403 GB, free: 6.297 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.8785, allocations: 0.9191 MB / 1.404 GB, free: 5.375 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.8803, allocations: 1.585 MB / 1.405 GB, free: 3.789 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.8805, allocations: 104 kB / 1.405 GB, free: 3.688 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.8808, allocations: 147.9 kB / 1.405 GB, free: 3.543 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004923/0.8813, allocations: 0.5511 MB / 1.406 GB, free: 2.988 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.8821, allocations: 0.8069 MB / 1.407 GB, free: 2.176 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.8841, allocations: 1.959 MB / 1.409 GB, free: 216 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8842, allocations: 0 / 1.409 GB, free: 216 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8842, allocations: 0 / 1.409 GB, free: 216 kB / 1.123 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.8842, allocations: 0 / 1.409 GB, free: 216 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003535/0.8877, allocations: 2.442 MB / 1.411 GB, free: 13.7 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8878, allocations: 8.031 kB / 1.411 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.8879, allocations: 126.4 kB / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.8882, allocations: 254.3 kB / 1.411 GB, free: 13.31 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.8896, allocations: 1.057 MB / 1.413 GB, free: 12.19 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.8898, allocations: 91.69 kB / 1.413 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.8899, allocations: 72 kB / 1.413 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.8914, allocations: 0.7893 MB / 1.413 GB, free: 11.22 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.8914, allocations: 11.89 kB / 1.413 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.8915, allocations: 27.94 kB / 1.413 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.8915, allocations: 16 kB / 1.413 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.8928, allocations: 0.6414 MB / 1.414 GB, free: 10.52 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/0.898, allocations: 3.734 MB / 1.418 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.8997, allocations: 0.7419 MB / 1.418 GB, free: 5.77 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.9006, allocations: 434 kB / 1.419 GB, free: 5.348 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.9007, allocations: 16.5 kB / 1.419 GB, free: 5.332 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008714/0.9016, allocations: 456 kB / 1.419 GB, free: 4.871 MB / 1.139 GB Notification: Performance of pre-optimization done (n=73): time 2.905e-06/0.9016, allocations: 0 / 1.419 GB, free: 4.871 MB / 1.139 GB Notification: Performance of matching and sorting (n=73): time 0.004643/0.9062, allocations: 1.847 MB / 1.421 GB, free: 2.977 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.9063, allocations: 67.98 kB / 1.421 GB, free: 2.898 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.9101, allocations: 3.375 MB / 1.425 GB, free: 15.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.9102, allocations: 45.7 kB / 1.425 GB, free: 15.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.9111, allocations: 0.9336 MB / 1.425 GB, free: 14.51 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.9113, allocations: 250 kB / 1.426 GB, free: 14.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.9116, allocations: 138.6 kB / 1.426 GB, free: 14.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9118, allocations: 334 kB / 1.426 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.9125, allocations: 325.8 kB / 1.426 GB, free: 13.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008283/0.9133, allocations: 466.2 kB / 1.427 GB, free: 12.98 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.9148, allocations: 0.7473 MB / 1.428 GB, free: 12.19 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9148, allocations: 3.938 kB / 1.428 GB, free: 12.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002559/0.9173, allocations: 1.264 MB / 1.429 GB, free: 10.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9174, allocations: 4 kB / 1.429 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9174, allocations: 4 kB / 1.429 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.9181, allocations: 259.5 kB / 1.429 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.9187, allocations: 139.8 kB / 1.429 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.9243, allocations: 4.753 MB / 1.434 GB, free: 5.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.9252, allocations: 103.5 kB / 1.434 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.9252, allocations: 31.98 kB / 1.434 GB, free: 5.344 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008598/0.9261, allocations: 0.6069 MB / 1.435 GB, free: 4.73 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.9264, allocations: 230.4 kB / 1.435 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.9268, allocations: 265.2 kB / 1.435 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.9268, allocations: 8 kB / 1.435 GB, free: 4.23 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.9268, allocations: 4 kB / 1.435 GB, free: 4.227 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.9268, allocations: 3.984 kB / 1.435 GB, free: 4.223 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.9311, allocations: 2.421 MB / 1.437 GB, free: 1.734 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9311, allocations: 0 / 1.437 GB, free: 1.734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.9314, allocations: 71.89 kB / 1.438 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/0.9321, allocations: 250.7 kB / 1.438 GB, free: 1.414 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.9322, allocations: 19.98 kB / 1.438 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.9378, allocations: 4.754 MB / 1.442 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9378, allocations: 3.938 kB / 1.442 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.9411, allocations: 1.647 MB / 1.444 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.9416, allocations: 327.5 kB / 1.444 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.9419, allocations: 23.98 kB / 1.444 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.9424, allocations: 35.97 kB / 1.444 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.9426, allocations: 80.55 kB / 1.445 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.9427, allocations: 27.98 kB / 1.445 GB, free: 10.19 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00313/0.9458, allocations: 2.468 MB / 1.447 GB, free: 7.711 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.314e-06/0.9458, allocations: 0 / 1.447 GB, free: 7.711 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009996/0.9468, allocations: 299.6 kB / 1.447 GB, free: 7.418 MB / 1.17 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.005177/0.952, allocations: 2.606 MB / 1.45 GB, free: 4.961 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002221/0.9542, allocations: 1.084 MB / 1.451 GB, free: 3.852 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9543, allocations: 0 / 1.451 GB, free: 3.852 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.9555, allocations: 0.7105 MB / 1.452 GB, free: 3.113 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.9569, allocations: 296.2 kB / 1.452 GB, free: 2.832 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.9794, allocations: 14.23 MB / 1.466 GB, free: 4.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.9809, allocations: 1.552 MB / 1.467 GB, free: 2.758 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005127/0.9814, allocations: 162.7 kB / 1.467 GB, free: 2.594 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.9824, allocations: 0.7531 MB / 1.468 GB, free: 1.84 MB / 1.186 GB Notification: Performance of SimCode: time 5.72e-07/0.9824, allocations: 0 / 1.468 GB, free: 1.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8852/1.868, allocations: 34.27 MB / 1.502 GB, free: 15.93 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/18.8, allocations: 10.75 kB / 1.502 GB, free: 15.92 MB / 1.232 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)