Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.573/2.573, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001573, allocations: 189.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 93.78 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006752/0.0006757, allocations: 14.59 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2118, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9): time 0.9247/1.136, allocations: 133.5 MB / 1.109 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03258/1.169, allocations: 18.71 MB / 1.127 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/1.172, allocations: 48.78 kB / 1.127 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006364/1.179, allocations: 3.294 MB / 1.13 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009214/1.188, allocations: 2.913 MB / 1.133 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006408/1.194, allocations: 1.274 MB / 1.134 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004732/1.199, allocations: 1.687 MB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.202, allocations: 1.137 MB / 1.137 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/1.205, allocations: 1.027 MB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/1.209, allocations: 1.674 MB / 1.14 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/1.211, allocations: 48.19 kB / 1.14 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/1.212, allocations: 75.39 kB / 1.14 GB, free: 13.22 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/1.213, allocations: 0.7334 MB / 1.14 GB, free: 12.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009228/1.214, allocations: 438.4 kB / 1.141 GB, free: 12.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003706/1.218, allocations: 1.886 MB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.218, allocations: 0 / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.218, allocations: 0 / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000138/1.218, allocations: 3.938 kB / 1.143 GB, free: 11.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.008613/1.227, allocations: 2.833 MB / 1.145 GB, free: 9.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.227, allocations: 8.781 kB / 1.146 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.228, allocations: 338.6 kB / 1.146 GB, free: 9.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/1.232, allocations: 1.255 MB / 1.147 GB, free: 9.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/1.232, allocations: 110.7 kB / 1.147 GB, free: 8.977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/1.232, allocations: 89.11 kB / 1.147 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/1.236, allocations: 0.9985 MB / 1.148 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.742e-05/1.236, allocations: 4.953 kB / 1.148 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.236, allocations: 38.2 kB / 1.148 GB, free: 8.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/1.236, allocations: 19.56 kB / 1.148 GB, free: 8.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/1.239, allocations: 0.8635 MB / 1.149 GB, free: 8.527 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/1.25, allocations: 4.387 MB / 1.153 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/1.255, allocations: 1.136 MB / 1.155 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/1.255, allocations: 19.69 kB / 1.155 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001983/1.257, allocations: 0.595 MB / 1.155 GB, free: 5.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 5.26e-06/1.257, allocations: 0.5625 kB / 1.155 GB, free: 5.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.009075/1.266, allocations: 2.324 MB / 1.157 GB, free: 4.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.266, allocations: 62.72 kB / 1.157 GB, free: 4.809 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008726/1.275, allocations: 5.094 MB / 1.162 GB, free: 3.887 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/1.275, allocations: 51.55 kB / 1.162 GB, free: 3.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.277, allocations: 1.366 MB / 1.164 GB, free: 3.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/1.277, allocations: 319.2 kB / 1.164 GB, free: 3.352 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/1.277, allocations: 18.16 kB / 1.164 GB, free: 3.352 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.278, allocations: 349.9 kB / 1.164 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.279, allocations: 396.8 kB / 1.165 GB, free: 2.969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.28, allocations: 0.5692 MB / 1.165 GB, free: 2.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.282, allocations: 470 kB / 1.166 GB, free: 2.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.282, allocations: 0 / 1.166 GB, free: 2.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00483/1.287, allocations: 1.576 MB / 1.167 GB, free: 1.711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.287, allocations: 7.312 kB / 1.167 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.287, allocations: 2.844 kB / 1.167 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.288, allocations: 264.1 kB / 1.168 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.289, allocations: 179.7 kB / 1.168 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/1.297, allocations: 4.442 MB / 1.172 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.299, allocations: 142.6 kB / 1.172 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.3, allocations: 40.08 kB / 1.172 GB, free: 13.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002577/1.302, allocations: 0.8581 MB / 1.173 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/1.303, allocations: 304 kB / 1.173 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/1.305, allocations: 391.9 kB / 1.174 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.305, allocations: 10.48 kB / 1.174 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/1.305, allocations: 6.656 kB / 1.174 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.305, allocations: 7.938 kB / 1.174 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008836/1.314, allocations: 3.045 MB / 1.177 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.314, allocations: 0 / 1.177 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/1.315, allocations: 109.2 kB / 1.177 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.316, allocations: 249.9 kB / 1.177 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/1.316, allocations: 30.22 kB / 1.177 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/1.324, allocations: 4.437 MB / 1.182 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.324, allocations: 3.984 kB / 1.182 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/1.331, allocations: 2.199 MB / 1.184 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.333, allocations: 444.9 kB / 1.184 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/1.333, allocations: 23.98 kB / 1.184 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.334, allocations: 79.78 kB / 1.184 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/1.335, allocations: 104.8 kB / 1.184 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.335, allocations: 31.98 kB / 1.184 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.008317/1.343, allocations: 3.73 MB / 1.188 GB, free: 60 kB / 0.7136 GB Notification: Performance of sort global known variables: time 7.02e-07/1.343, allocations: 0 / 1.188 GB, free: 60 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002341/1.346, allocations: 379.4 kB / 1.188 GB, free: 15.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/1.347, allocations: 499.2 kB / 1.189 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004571/1.352, allocations: 1.34 MB / 1.19 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.352, allocations: 0 / 1.19 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.355, allocations: 0.8455 MB / 1.191 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.358, allocations: 354.5 kB / 1.191 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.374, allocations: 6.478 MB / 1.198 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/1.378, allocations: 2.003 MB / 1.2 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001316/1.379, allocations: 236.4 kB / 1.2 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.379, allocations: 87.42 kB / 1.2 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of SimCode: time 1.503e-06/1.379, allocations: 0 / 1.2 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of Templates: time 0.05936/1.439, allocations: 16.71 MB / 1.216 GB, free: 3.398 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)