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.001322/0.001322, allocations: 106.9 kB / 15.98 MB, free: 6.34 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.001297/0.001297, allocations: 190.4 kB / 16.91 MB, free: 6.191 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.51/1.51, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7997/0.7997, allocations: 115.3 MB / 406.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6479/0.6496, allocations: 76.17 MB / 0.556 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.232/0.8816, allocations: 155.1 MB / 0.7075 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03174/0.9135, allocations: 21.75 MB / 0.7287 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.917, allocations: 55.62 kB / 0.7287 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.9202, allocations: 2.109 MB / 0.7308 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.9234, allocations: 1.371 MB / 0.7321 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.9255, allocations: 0.5123 MB / 0.7326 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.9286, allocations: 1.836 MB / 0.7344 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.9308, allocations: 1.086 MB / 0.7355 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.9328, allocations: 0.8957 MB / 0.7364 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.9351, allocations: 1.592 MB / 0.7379 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.9355, allocations: 96 kB / 0.738 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.9362, allocations: 139.9 kB / 0.7382 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.9369, allocations: 0.5548 MB / 0.7387 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.9383, allocations: 0.768 MB / 0.7394 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.9409, allocations: 1.833 MB / 0.7412 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9409, allocations: 0 / 0.7412 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9409, allocations: 0 / 0.7412 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.984e-05/0.941, allocations: 0 / 0.7412 GB, free: 6.227 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.004445/0.9454, allocations: 2.281 MB / 0.7435 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.9455, allocations: 12.03 kB / 0.7435 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.9456, allocations: 106.7 kB / 0.7436 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.9459, allocations: 230 kB / 0.7438 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.9473, allocations: 1.003 MB / 0.7448 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.9474, allocations: 87 kB / 0.7449 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.9475, allocations: 63.98 kB / 0.7449 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.9488, allocations: 0.729 MB / 0.7456 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.9489, allocations: 0 / 0.7456 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.9489, allocations: 36 kB / 0.7457 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.949, allocations: 12 kB / 0.7457 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.9501, allocations: 0.5907 MB / 0.7463 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3527/1.303, allocations: 3.513 MB / 0.7497 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/1.305, allocations: 0.7108 MB / 0.7504 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009903/1.306, allocations: 410.8 kB / 0.7508 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/1.306, allocations: 8.625 kB / 0.7508 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/1.307, allocations: 436.5 kB / 0.7512 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 4.268e-06/1.307, allocations: 0 / 0.7512 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.005726/1.313, allocations: 1.798 MB / 0.753 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.313, allocations: 60.44 kB / 0.753 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/1.318, allocations: 3.308 MB / 0.7562 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.318, allocations: 44.06 kB / 0.7563 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/1.319, allocations: 0.8865 MB / 0.7571 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.319, allocations: 230.6 kB / 0.7574 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.319, allocations: 128.2 kB / 0.7575 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.319, allocations: 336.4 kB / 0.7578 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/1.32, allocations: 310.3 kB / 0.7581 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/1.321, allocations: 436.7 kB / 0.7585 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.322, allocations: 0.7128 MB / 0.7592 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.322, allocations: 2.062 kB / 0.7592 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002691/1.325, allocations: 1.216 MB / 0.7604 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.325, allocations: 6.531 kB / 0.7604 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.325, allocations: 4.125 kB / 0.7604 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/1.326, allocations: 273.1 kB / 0.7607 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/1.326, allocations: 127.9 kB / 0.7608 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/1.332, allocations: 4.763 MB / 0.7655 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.333, allocations: 103 kB / 0.7656 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/1.333, allocations: 24.89 kB / 0.7656 GB, free: 164.3 MB / 0.5762 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.001299/1.334, allocations: 0.61 MB / 0.7662 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/1.334, allocations: 205.9 kB / 0.7664 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/1.335, allocations: 255.6 kB / 0.7666 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.335, allocations: 6.922 kB / 0.7666 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/1.335, allocations: 5.562 kB / 0.7666 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.335, allocations: 6.625 kB / 0.7666 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/1.34, allocations: 2.324 MB / 0.7689 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.34, allocations: 0.5312 kB / 0.7689 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/1.34, allocations: 70.58 kB / 0.769 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006685/1.341, allocations: 252.7 kB / 0.7692 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/1.341, allocations: 24.53 kB / 0.7692 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/1.346, allocations: 4.761 MB / 0.7739 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.346, allocations: 1.656 kB / 0.7739 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/1.349, allocations: 1.569 MB / 0.7754 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/1.35, allocations: 316 kB / 0.7757 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/1.35, allocations: 22.77 kB / 0.7757 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/1.351, allocations: 46.86 kB / 0.7758 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/1.351, allocations: 75.73 kB / 0.7759 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/1.351, allocations: 24.8 kB / 0.7759 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003586/1.355, allocations: 2.428 MB / 0.7782 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.383e-06/1.355, allocations: 0 / 0.7782 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001692/1.356, allocations: 292.8 kB / 0.7785 GB, free: 157.1 MB / 0.5762 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.004744/1.361, allocations: 2.51 MB / 0.781 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.364, allocations: 1.151 MB / 0.7821 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.364, allocations: 0 / 0.7821 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.365, allocations: 0.6927 MB / 0.7828 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.367, allocations: 284.9 kB / 0.7831 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.389, allocations: 15.95 MB / 0.7986 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009488/1.39, allocations: 1.524 MB / 0.8001 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005793/1.391, allocations: 150.3 kB / 0.8003 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/1.391, allocations: 0.7101 MB / 0.801 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.42e-07/1.391, allocations: 0 / 0.801 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/1.441, allocations: 32 MB / 0.8322 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.442, allocations: 273.8 kB / 0.8325 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/4.026, allocations: 0 / 0.8325 GB, free: 107.5 MB / 0.5762 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)