Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7235/0.7235, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 426.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.00088, allocations: 94.34 kB / 0.4945 GB, free: 8.332 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001696/0.001696, allocations: 271.9 kB / 0.5729 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 16 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3757, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/5.116, allocations: 2.317 GB / 3.057 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/5.116, allocations: 99.94 kB / 3.057 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1194/5.236, allocations: 63.63 MB / 3.119 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/5.236, allocations: 0 / 3.119 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001035/5.236, allocations: 20 kB / 3.119 GB, free: 170.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002184/5.238, allocations: 1.387 MB / 3.12 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/5.238, allocations: 8.031 kB / 3.12 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/5.239, allocations: 143.2 kB / 3.12 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/5.24, allocations: 1.163 MB / 3.122 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/5.241, allocations: 83.19 kB / 3.122 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/5.241, allocations: 44.36 kB / 3.122 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/5.241, allocations: 0.5034 MB / 3.122 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/5.241, allocations: 3.938 kB / 3.122 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/5.242, allocations: 16 kB / 3.122 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/5.242, allocations: 12 kB / 3.122 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/5.242, allocations: 411.6 kB / 3.123 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/5.245, allocations: 2.561 MB / 3.125 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/5.246, allocations: 0.4962 MB / 3.126 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/5.246, allocations: 284.4 kB / 3.126 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/5.246, allocations: 4 kB / 3.126 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/5.247, allocations: 291.6 kB / 3.126 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/5.247, allocations: 0 / 3.126 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.00247/5.249, allocations: 1.222 MB / 3.127 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/5.249, allocations: 59.34 kB / 3.127 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/5.252, allocations: 1.696 MB / 3.129 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/5.252, allocations: 33.64 kB / 3.129 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/5.252, allocations: 0.5211 MB / 3.13 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/5.252, allocations: 138.1 kB / 3.13 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/5.252, allocations: 11.94 kB / 3.13 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/5.252, allocations: 330 kB / 3.13 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/5.253, allocations: 185 kB / 3.13 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/5.253, allocations: 293.6 kB / 3.131 GB, free: 158 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/5.254, allocations: 494.3 kB / 3.131 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/5.254, allocations: 0 / 3.131 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001271/5.255, allocations: 0.777 MB / 3.132 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/5.255, allocations: 4 kB / 3.132 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/5.255, allocations: 4 kB / 3.132 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/5.255, allocations: 174 kB / 3.132 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/5.256, allocations: 83.89 kB / 3.132 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/5.258, allocations: 2.603 MB / 3.135 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/5.259, allocations: 79.56 kB / 3.135 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/5.259, allocations: 20 kB / 3.135 GB, free: 153.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004628/5.259, allocations: 383.2 kB / 3.135 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/5.259, allocations: 122.5 kB / 3.135 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/5.261, allocations: 0.7476 MB / 3.136 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/5.261, allocations: 4 kB / 3.136 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/5.261, allocations: 4 kB / 3.136 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/5.261, allocations: 3.938 kB / 3.136 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/5.263, allocations: 1.663 MB / 3.137 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/5.263, allocations: 0 / 3.137 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/5.263, allocations: 43.97 kB / 3.138 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/5.263, allocations: 191.4 kB / 3.138 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/5.263, allocations: 12 kB / 3.138 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/5.266, allocations: 3.965 MB / 3.142 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/5.266, allocations: 0 / 3.142 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/5.268, allocations: 1.045 MB / 3.143 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/5.268, allocations: 303.8 kB / 3.143 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/5.269, allocations: 15.94 kB / 3.143 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/5.269, allocations: 55.8 kB / 3.143 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/5.269, allocations: 55.83 kB / 3.143 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/5.269, allocations: 20 kB / 3.143 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001472/5.271, allocations: 1.237 MB / 3.144 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/5.271, allocations: 0 / 3.144 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0011/5.272, allocations: 303.7 kB / 3.145 GB, free: 143.1 MB / 0.6823 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/5.273, allocations: 0.9545 MB / 3.145 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001273/5.275, allocations: 0.6799 MB / 3.146 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/5.275, allocations: 3.938 kB / 3.146 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/5.275, allocations: 0.5486 MB / 3.147 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/5.276, allocations: 196.1 kB / 3.147 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/5.28, allocations: 2.763 MB / 3.15 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/5.281, allocations: 1.153 MB / 3.151 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003421/5.281, allocations: 144.6 kB / 3.151 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/5.281, allocations: 59.44 kB / 3.151 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/5.281, allocations: 0 / 3.151 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02658/5.308, allocations: 18.44 MB / 3.169 GB, free: 118.2 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)