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.001857/0.001857, allocations: 105.8 kB / 16.4 MB, free: 6.492 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.002591/0.002591, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.598/2.598, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.727/1.727, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.00218, allocations: 68.81 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2492, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 1.028/1.277, allocations: 157.2 MB / 0.7851 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04267/1.32, allocations: 22 MB / 0.8066 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00467/1.325, allocations: 61.72 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/1.329, allocations: 2.151 MB / 0.8088 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/1.334, allocations: 1.419 MB / 0.8101 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/1.336, allocations: 0.5838 MB / 0.8107 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005454/1.342, allocations: 1.834 MB / 0.8125 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/1.345, allocations: 1.082 MB / 0.8136 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/1.348, allocations: 0.8848 MB / 0.8144 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/1.352, allocations: 1.542 MB / 0.8159 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004564/1.352, allocations: 94.81 kB / 0.816 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/1.353, allocations: 137.5 kB / 0.8162 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006894/1.354, allocations: 0.525 MB / 0.8167 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/1.355, allocations: 0.7643 MB / 0.8174 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/1.358, allocations: 1.852 MB / 0.8192 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/1.358, allocations: 0 / 0.8192 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/1.358, allocations: 2.812 kB / 0.8192 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.922e-05/1.359, allocations: 0 / 0.8192 GB, free: 5.672 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005779/1.364, allocations: 2.284 MB / 0.8215 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.364, allocations: 10.31 kB / 0.8215 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.365, allocations: 110.4 kB / 0.8216 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/1.365, allocations: 234.6 kB / 0.8218 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/1.367, allocations: 1.005 MB / 0.8228 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/1.368, allocations: 94.08 kB / 0.8229 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.368, allocations: 62.5 kB / 0.8229 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/1.37, allocations: 0.7274 MB / 0.8236 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/1.37, allocations: 2.75 kB / 0.8236 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/1.37, allocations: 25 kB / 0.8237 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.37, allocations: 14.66 kB / 0.8237 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/1.372, allocations: 0.595 MB / 0.8243 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008014/1.38, allocations: 3.502 MB / 0.8277 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/1.382, allocations: 0.7124 MB / 0.8284 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/1.383, allocations: 416.7 kB / 0.8288 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/1.383, allocations: 10.12 kB / 0.8288 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.385, allocations: 437 kB / 0.8292 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 5.28e-06/1.385, allocations: 0 / 0.8292 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.006881/1.391, allocations: 1.792 MB / 0.8309 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.392, allocations: 63.06 kB / 0.831 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/1.398, allocations: 3.311 MB / 0.8342 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.398, allocations: 40.48 kB / 0.8343 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.399, allocations: 0.8909 MB / 0.8352 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/1.4, allocations: 227.1 kB / 0.8354 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.4, allocations: 130.7 kB / 0.8355 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.4, allocations: 334 kB / 0.8358 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/1.401, allocations: 305.8 kB / 0.8361 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.402, allocations: 446.3 kB / 0.8365 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/1.404, allocations: 0.7152 MB / 0.8372 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.404, allocations: 7.938 kB / 0.8372 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003694/1.408, allocations: 1.208 MB / 0.8384 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/1.408, allocations: 11.88 kB / 0.8384 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.408, allocations: 15.86 kB / 0.8384 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.409, allocations: 258.5 kB / 0.8387 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/1.41, allocations: 127.8 kB / 0.8388 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/1.417, allocations: 4.744 MB / 0.8434 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.419, allocations: 95.23 kB / 0.8435 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.419, allocations: 35.98 kB / 0.8436 GB, free: 2.047 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.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.001591/1.42, allocations: 0.6065 MB / 0.8442 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/1.421, allocations: 201.4 kB / 0.8444 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/1.422, allocations: 256.5 kB / 0.8446 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.422, allocations: 12.03 kB / 0.8446 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/1.422, allocations: 8 kB / 0.8446 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.422, allocations: 7.984 kB / 0.8446 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/1.427, allocations: 2.325 MB / 0.8469 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.428, allocations: 0 / 0.8469 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/1.428, allocations: 71.89 kB / 0.847 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009162/1.429, allocations: 247.8 kB / 0.8472 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/1.429, allocations: 23.98 kB / 0.8472 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00714/1.436, allocations: 4.757 MB / 0.8519 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.436, allocations: 0 / 0.8519 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/1.44, allocations: 1.572 MB / 0.8534 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/1.441, allocations: 318.3 kB / 0.8537 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.442, allocations: 19.94 kB / 0.8537 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/1.442, allocations: 39.95 kB / 0.8538 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/1.443, allocations: 68.47 kB / 0.8538 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/1.443, allocations: 31.98 kB / 0.8539 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004204/1.447, allocations: 2.423 MB / 0.8562 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/1.447, allocations: 0 / 0.8562 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001764/1.449, allocations: 288.3 kB / 0.8565 GB, free: 4.398 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,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.006369/1.455, allocations: 2.517 MB / 0.859 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003053/1.458, allocations: 1.056 MB / 0.86 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.458, allocations: 0 / 0.86 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.46, allocations: 0.6973 MB / 0.8607 GB, free: 244 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.462, allocations: 290 kB / 0.8609 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/1.497, allocations: 13.7 MB / 0.8743 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/1.499, allocations: 1.528 MB / 0.8758 GB, free: 456 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007817/1.5, allocations: 146.4 kB / 0.876 GB, free: 304 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.501, allocations: 0.7063 MB / 0.8766 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of SimCode: time 1.633e-06/1.501, allocations: 3.938 kB / 0.8767 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.601, allocations: 33.45 MB / 0.9093 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.61/25.21, allocations: 15.88 kB / 0.9093 GB, free: 14.46 MB / 0.6856 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)