Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_latest_Buildings_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.002369/0.002368, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002231/0.002231, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.833/2.833, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.172/5.172, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002869/0.00287, allocations: 63.16 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5973, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.3222/0.9195, allocations: 155.1 MB / 1.204 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04829/0.9679, allocations: 21.74 MB / 1.225 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/0.9722, allocations: 51.69 kB / 1.225 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00466/0.977, allocations: 2.113 MB / 1.227 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005086/0.9821, allocations: 1.375 MB / 1.229 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.9855, allocations: 0.5093 MB / 1.229 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.9902, allocations: 1.832 MB / 1.231 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.9934, allocations: 1.095 MB / 1.232 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.9964, allocations: 0.888 MB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/1, allocations: 1.6 MB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006007/1.001, allocations: 92 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/1.002, allocations: 132 kB / 1.235 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/1.003, allocations: 0.5548 MB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001987/1.005, allocations: 0.7718 MB / 1.236 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003938/1.009, allocations: 1.821 MB / 1.238 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.009, allocations: 7.938 kB / 1.238 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.955e-06/1.009, allocations: 0 / 1.238 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001181/1.009, allocations: 0 / 1.238 GB, free: 10.2 MB / 0.9981 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.007053/1.016, allocations: 2.282 MB / 1.24 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.671e-05/1.016, allocations: 12.62 kB / 1.24 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/1.017, allocations: 102.7 kB / 1.24 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/1.017, allocations: 238 kB / 1.24 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/1.019, allocations: 0.9951 MB / 1.241 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/1.02, allocations: 94.94 kB / 1.241 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/1.02, allocations: 60 kB / 1.241 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/1.022, allocations: 0.7329 MB / 1.242 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/1.022, allocations: 0 / 1.242 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.022, allocations: 31.98 kB / 1.242 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.022, allocations: 15.94 kB / 1.242 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/1.024, allocations: 0.5946 MB / 1.243 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/1.032, allocations: 3.525 MB / 1.246 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.035, allocations: 0.7021 MB / 1.247 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.027/2.063, allocations: 411.8 kB / 1.247 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/2.063, allocations: 9.828 kB / 1.247 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/2.065, allocations: 427.2 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 6.342e-06/2.065, allocations: 0.8125 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.007968/2.073, allocations: 1.807 MB / 1.249 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/2.073, allocations: 59.25 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00646/2.079, allocations: 3.308 MB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/2.08, allocations: 46.58 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/2.081, allocations: 0.8881 MB / 1.254 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/2.081, allocations: 220.6 kB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/2.081, allocations: 137 kB / 1.254 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/2.082, allocations: 332.8 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/2.083, allocations: 307 kB / 1.255 GB, free: 195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/2.083, allocations: 433.8 kB / 1.255 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/2.085, allocations: 0.718 MB / 1.256 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/2.085, allocations: 2.875 kB / 1.256 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003592/2.089, allocations: 1.209 MB / 1.257 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/2.089, allocations: 6.609 kB / 1.257 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/2.089, allocations: 2.969 kB / 1.257 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/2.09, allocations: 268.6 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/2.091, allocations: 134 kB / 1.257 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/2.098, allocations: 4.756 MB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/2.1, allocations: 102.5 kB / 1.262 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/2.1, allocations: 27.77 kB / 1.262 GB, free: 191.6 MB / 0.9981 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.002259/2.102, allocations: 0.6131 MB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/2.103, allocations: 205 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009965/2.104, allocations: 251.1 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/2.104, allocations: 6.625 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-05/2.104, allocations: 8.188 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/2.104, allocations: 4.109 kB / 1.263 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/2.112, allocations: 2.339 MB / 1.265 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/2.112, allocations: 0.8438 kB / 1.265 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/2.113, allocations: 65.81 kB / 1.265 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/2.114, allocations: 255.3 kB / 1.266 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/2.114, allocations: 19.69 kB / 1.266 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008536/2.123, allocations: 4.764 MB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/2.123, allocations: 0.5938 kB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/2.13, allocations: 1.566 MB / 1.272 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/2.131, allocations: 314.5 kB / 1.272 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/2.131, allocations: 17.91 kB / 1.272 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/2.132, allocations: 52.17 kB / 1.272 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/2.133, allocations: 78.2 kB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/2.133, allocations: 28.25 kB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006813/2.14, allocations: 2.421 MB / 1.275 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.052e-06/2.14, allocations: 5.188 kB / 1.275 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002846/2.143, allocations: 288.4 kB / 1.275 GB, free: 186.3 MB / 0.9981 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.007161/2.15, allocations: 2.514 MB / 1.277 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004165/2.154, allocations: 1.155 MB / 1.279 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.154, allocations: 0 / 1.279 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/2.156, allocations: 0.685 MB / 1.279 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/2.158, allocations: 286 kB / 1.279 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04803/2.207, allocations: 15.96 MB / 1.295 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/2.208, allocations: 1.53 MB / 1.297 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009674/2.209, allocations: 160.1 kB / 1.297 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/2.21, allocations: 0.6984 MB / 1.297 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/2.21, allocations: 0 / 1.297 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/2.368, allocations: 32.01 MB / 1.329 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/2.369, allocations: 279.8 kB / 1.329 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.472/7.841, allocations: 0 / 1.329 GB, free: 141.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)