Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IBPSA_latest_IBPSA_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.001258/0.001258, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001259/0.001259, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7845/0.7845, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.69 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1883, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6697/0.858, allocations: 157.5 MB / 0.7854 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.8885, allocations: 22.09 MB / 0.807 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/0.8931, allocations: 57.84 kB / 0.807 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.8967, allocations: 2.179 MB / 0.8092 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.9017, allocations: 1.45 MB / 0.8106 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.9052, allocations: 0.6218 MB / 0.8112 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004812/0.91, allocations: 1.945 MB / 0.8131 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.9131, allocations: 1.129 MB / 0.8142 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.916, allocations: 0.9164 MB / 0.8151 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.9189, allocations: 1.599 MB / 0.8167 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005898/0.9196, allocations: 97.94 kB / 0.8167 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.9205, allocations: 145.7 kB / 0.8169 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008902/0.9214, allocations: 0.5567 MB / 0.8174 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.9231, allocations: 0.8046 MB / 0.8182 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.9266, allocations: 1.951 MB / 0.8201 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.9267, allocations: 0 / 0.8201 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9267, allocations: 0 / 0.8201 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001487/0.9269, allocations: 0 / 0.8201 GB, free: 5.199 MB / 0.5919 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.006439/0.9333, allocations: 2.362 MB / 0.8224 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.9334, allocations: 14.28 kB / 0.8224 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003221/0.9337, allocations: 117.3 kB / 0.8225 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.9344, allocations: 241.2 kB / 0.8228 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.9368, allocations: 1.038 MB / 0.8238 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.9371, allocations: 94 kB / 0.8239 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.9374, allocations: 75.28 kB / 0.824 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.9394, allocations: 0.7968 MB / 0.8247 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.9395, allocations: 0 / 0.8247 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.9396, allocations: 28.94 kB / 0.8248 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.9396, allocations: 17.34 kB / 0.8248 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.9412, allocations: 0.6422 MB / 0.8254 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007852/0.949, allocations: 3.726 MB / 0.829 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.9511, allocations: 0.7462 MB / 0.8298 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.9521, allocations: 432.4 kB / 0.8302 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.9522, allocations: 11.42 kB / 0.8302 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009605/0.9531, allocations: 458.3 kB / 0.8306 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.9532, allocations: 0 / 0.8306 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.004947/0.9581, allocations: 1.827 MB / 0.8324 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.9582, allocations: 68.25 kB / 0.8325 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/0.9636, allocations: 3.377 MB / 0.8358 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.9638, allocations: 41.7 kB / 0.8358 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.9649, allocations: 0.9331 MB / 0.8367 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.9653, allocations: 237.2 kB / 0.837 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.9657, allocations: 138.7 kB / 0.8371 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9658, allocations: 334 kB / 0.8374 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.9666, allocations: 321.7 kB / 0.8377 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.9675, allocations: 476 kB / 0.8382 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.969, allocations: 0.7429 MB / 0.8389 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.969, allocations: 0 / 0.8389 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002796/0.9718, allocations: 1.256 MB / 0.8401 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.9719, allocations: 8 kB / 0.8401 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.9719, allocations: 0 / 0.8401 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.9727, allocations: 263.9 kB / 0.8404 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.9733, allocations: 139.8 kB / 0.8405 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.9787, allocations: 4.755 MB / 0.8452 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.9798, allocations: 99.3 kB / 0.8453 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.98, allocations: 31.98 kB / 0.8453 GB, free: 0.5078 MB / 0.6075 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.001282/0.9813, allocations: 0.6102 MB / 0.8459 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.9819, allocations: 217.2 kB / 0.8461 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007796/0.9827, allocations: 261.2 kB / 0.8463 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9827, allocations: 8 kB / 0.8463 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/0.9827, allocations: 4 kB / 0.8463 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.9828, allocations: 7.984 kB / 0.8464 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.9883, allocations: 2.402 MB / 0.8487 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.9883, allocations: 3.938 kB / 0.8487 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.9887, allocations: 75.89 kB / 0.8488 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000708/0.9895, allocations: 253.5 kB / 0.849 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.664e-05/0.9896, allocations: 19.98 kB / 0.849 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/0.9953, allocations: 4.737 MB / 0.8537 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9954, allocations: 0 / 0.8537 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.9991, allocations: 1.638 MB / 0.8553 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/0.9999, allocations: 318.3 kB / 0.8556 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/1, allocations: 23.98 kB / 0.8556 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007659/1.001, allocations: 31.97 kB / 0.8556 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.001, allocations: 84.44 kB / 0.8557 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/1.002, allocations: 27.98 kB / 0.8557 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004025/1.006, allocations: 2.468 MB / 0.8581 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/1.006, allocations: 0 / 0.8581 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00169/1.007, allocations: 307.4 kB / 0.8584 GB, free: 2.645 MB / 0.6231 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.005269/1.013, allocations: 2.593 MB / 0.861 GB, free: 212 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002478/1.015, allocations: 1.094 MB / 0.862 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.015, allocations: 0 / 0.862 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.017, allocations: 0.6989 MB / 0.8627 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.019, allocations: 292.5 kB / 0.863 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.045, allocations: 14.13 MB / 0.8768 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.047, allocations: 1.556 MB / 0.8783 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006286/1.047, allocations: 154.7 kB / 0.8785 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009872/1.048, allocations: 0.757 MB / 0.8792 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/1.048, allocations: 0 / 0.8792 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08455/1.133, allocations: 34.82 MB / 0.9132 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.85, allocations: 7.703 kB / 0.9132 GB, free: 10.74 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)