Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.001384/0.001383, allocations: 109.3 kB / 16.27 MB, free: 6.004 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.001595/0.001595, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4062, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1871/0.5933, allocations: 157.2 MB / 0.7208 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.6235, allocations: 21.99 MB / 0.7423 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.6261, allocations: 55.69 kB / 0.7424 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.6288, allocations: 2.155 MB / 0.7445 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.6313, allocations: 1.421 MB / 0.7459 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.633, allocations: 0.5866 MB / 0.7464 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.635, allocations: 1.824 MB / 0.7482 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4179/1.053, allocations: 1.081 MB / 0.7493 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/1.055, allocations: 0.8709 MB / 0.7501 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/1.057, allocations: 1.536 MB / 0.7516 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/1.057, allocations: 90.31 kB / 0.7517 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/1.058, allocations: 135.3 kB / 0.7518 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/1.059, allocations: 0.5242 MB / 0.7524 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009332/1.059, allocations: 0.7654 MB / 0.7531 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/1.062, allocations: 1.828 MB / 0.7549 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.062, allocations: 4.438 kB / 0.7549 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/1.062, allocations: 1.438 kB / 0.7549 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.331e-05/1.062, allocations: 0 / 0.7549 GB, free: 4.152 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003456/1.065, allocations: 2.285 MB / 0.7571 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.065, allocations: 10.91 kB / 0.7571 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/1.066, allocations: 109 kB / 0.7572 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/1.066, allocations: 229.9 kB / 0.7575 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.067, allocations: 0.9967 MB / 0.7584 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.067, allocations: 92.28 kB / 0.7585 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.067, allocations: 66.45 kB / 0.7586 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.069, allocations: 0.7284 MB / 0.7593 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.069, allocations: 6.328 kB / 0.7593 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/1.069, allocations: 24.72 kB / 0.7593 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/1.069, allocations: 17.14 kB / 0.7593 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.07, allocations: 0.5946 MB / 0.7599 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/1.075, allocations: 3.517 MB / 0.7634 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.076, allocations: 0.7074 MB / 0.764 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/1.077, allocations: 414.7 kB / 0.7644 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/1.077, allocations: 16.27 kB / 0.7645 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007221/1.078, allocations: 430.6 kB / 0.7649 GB, free: 468 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/1.078, allocations: 1.562 kB / 0.7649 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.004363/1.082, allocations: 1.791 MB / 0.7666 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.082, allocations: 66.38 kB / 0.7667 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/1.086, allocations: 3.309 MB / 0.7699 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/1.086, allocations: 44.44 kB / 0.77 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/1.087, allocations: 0.8914 MB / 0.7708 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/1.087, allocations: 217.1 kB / 0.771 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/1.088, allocations: 133.8 kB / 0.7712 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.088, allocations: 337.6 kB / 0.7715 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/1.088, allocations: 302.3 kB / 0.7718 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/1.089, allocations: 442.8 kB / 0.7722 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.09, allocations: 0.7206 MB / 0.7729 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.09, allocations: 0 / 0.7729 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002154/1.092, allocations: 1.218 MB / 0.7741 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.092, allocations: 8.156 kB / 0.7741 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.092, allocations: 6.406 kB / 0.7741 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/1.093, allocations: 267.1 kB / 0.7744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.094, allocations: 132.2 kB / 0.7745 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/1.098, allocations: 4.75 MB / 0.7791 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/1.099, allocations: 94.27 kB / 0.7792 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.099, allocations: 34.59 kB / 0.7792 GB, free: 11.78 MB / 0.5919 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009495/1.1, allocations: 0.6066 MB / 0.7798 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.1, allocations: 203.6 kB / 0.78 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/1.1, allocations: 249 kB / 0.7803 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.1, allocations: 9.281 kB / 0.7803 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.1, allocations: 2.094 kB / 0.7803 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.1, allocations: 6.062 kB / 0.7803 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.103, allocations: 2.34 MB / 0.7826 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.103, allocations: 3.5 kB / 0.7826 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/1.104, allocations: 66.94 kB / 0.7826 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/1.104, allocations: 253.2 kB / 0.7829 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/1.104, allocations: 22.12 kB / 0.7829 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/1.108, allocations: 4.754 MB / 0.7875 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.108, allocations: 0.9062 kB / 0.7875 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/1.111, allocations: 1.573 MB / 0.7891 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/1.111, allocations: 311.9 kB / 0.7894 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.111, allocations: 18.34 kB / 0.7894 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/1.112, allocations: 38.08 kB / 0.7894 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.112, allocations: 80.52 kB / 0.7895 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/1.112, allocations: 23.25 kB / 0.7895 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002678/1.115, allocations: 2.426 MB / 0.7919 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/1.115, allocations: 0.875 kB / 0.7919 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009748/1.116, allocations: 283.2 kB / 0.7922 GB, free: 7.535 MB / 0.5919 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.0038/1.12, allocations: 2.517 MB / 0.7946 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.122, allocations: 1.153 MB / 0.7957 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.122, allocations: 0.9375 kB / 0.7958 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.123, allocations: 0.6868 MB / 0.7964 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.124, allocations: 285.7 kB / 0.7967 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.145, allocations: 15.53 MB / 0.8119 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.146, allocations: 1.525 MB / 0.8134 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004671/1.146, allocations: 147.2 kB / 0.8135 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/1.147, allocations: 0.705 MB / 0.8142 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/1.147, allocations: 0 / 0.8142 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.177/3.324, allocations: 32.35 MB / 0.8458 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/17.39, allocations: 6.453 kB / 0.8458 GB, free: 1.391 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)