Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8528/0.8528, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 174.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008626/0.0008627, allocations: 97.56 kB / 0.5124 GB, free: 24.31 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 264.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.667e-05/4.669e-05, allocations: 8 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5028, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.948/5.451, allocations: 2.148 GB / 2.913 GB, free: 175.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/5.452, allocations: 91.89 kB / 2.913 GB, free: 175.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/5.572, allocations: 64.9 MB / 2.976 GB, free: 110.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/5.572, allocations: 0 / 2.976 GB, free: 110.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.86e-05/5.573, allocations: 24 kB / 2.976 GB, free: 110.1 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001741/5.574, allocations: 1.233 MB / 2.977 GB, free: 108.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/5.574, allocations: 8.031 kB / 2.977 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/5.575, allocations: 134.3 kB / 2.977 GB, free: 108.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/5.578, allocations: 1.451 MB / 2.979 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/5.578, allocations: 82.64 kB / 2.979 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/5.578, allocations: 44 kB / 2.979 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/5.579, allocations: 479 kB / 2.979 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/5.579, allocations: 4 kB / 2.979 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/5.579, allocations: 20 kB / 2.979 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/5.579, allocations: 8 kB / 2.979 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/5.579, allocations: 339.8 kB / 2.98 GB, free: 106.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/5.583, allocations: 2.669 MB / 2.982 GB, free: 103.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/5.583, allocations: 373.3 kB / 2.983 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/5.584, allocations: 273.4 kB / 2.983 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/5.584, allocations: 4.328 kB / 2.983 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/5.584, allocations: 247.5 kB / 2.983 GB, free: 102.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 3.045e-06/5.584, allocations: 192 / 2.983 GB, free: 102.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.001011/5.585, allocations: 0.5989 MB / 2.984 GB, free: 101.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/5.585, allocations: 63.41 kB / 2.984 GB, free: 101.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/5.587, allocations: 1.548 MB / 2.985 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/5.587, allocations: 37.7 kB / 2.985 GB, free: 100.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/5.587, allocations: 0.5172 MB / 2.986 GB, free: 99.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/5.587, allocations: 146 kB / 2.986 GB, free: 99.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/5.588, allocations: 12 kB / 2.986 GB, free: 99.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/5.588, allocations: 329.9 kB / 2.986 GB, free: 99.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/5.588, allocations: 165.1 kB / 2.987 GB, free: 98.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/5.588, allocations: 287.2 kB / 2.987 GB, free: 98.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/5.588, allocations: 197 kB / 2.987 GB, free: 98.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/5.588, allocations: 0 / 2.987 GB, free: 98.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009759/5.589, allocations: 0.7051 MB / 2.988 GB, free: 97.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/5.589, allocations: 8 kB / 2.988 GB, free: 97.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/5.589, allocations: 4 kB / 2.988 GB, free: 97.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/5.59, allocations: 135.1 kB / 2.988 GB, free: 97.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/5.59, allocations: 111.8 kB / 2.988 GB, free: 97.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/5.592, allocations: 2.347 MB / 2.99 GB, free: 95.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/5.593, allocations: 91.55 kB / 2.99 GB, free: 94.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/5.593, allocations: 23.98 kB / 2.99 GB, free: 94.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/5.593, allocations: 146.5 kB / 2.991 GB, free: 94.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/5.593, allocations: 130.5 kB / 2.991 GB, free: 94.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/5.594, allocations: 0.65 MB / 2.991 GB, free: 93.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/5.594, allocations: 4 kB / 2.991 GB, free: 93.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/5.594, allocations: 12 kB / 2.991 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/5.594, allocations: 0 / 2.991 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/5.597, allocations: 1.66 MB / 2.993 GB, free: 92.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/5.597, allocations: 3.938 kB / 2.993 GB, free: 92.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/5.597, allocations: 51.97 kB / 2.993 GB, free: 92.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/5.597, allocations: 161.6 kB / 2.993 GB, free: 92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/5.597, allocations: 19.89 kB / 2.993 GB, free: 91.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/5.6, allocations: 3.657 MB / 2.997 GB, free: 88.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/5.6, allocations: 0 / 2.997 GB, free: 88.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/5.601, allocations: 0.9127 MB / 2.998 GB, free: 87.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/5.602, allocations: 307.4 kB / 2.998 GB, free: 86.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/5.602, allocations: 16 kB / 2.998 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/5.602, allocations: 43.95 kB / 2.998 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/5.602, allocations: 59.91 kB / 2.998 GB, free: 86.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/5.602, allocations: 12 kB / 2.998 GB, free: 86.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001315/5.603, allocations: 1.232 MB / 2.999 GB, free: 85.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/5.603, allocations: 0 / 2.999 GB, free: 85.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009537/5.604, allocations: 303.6 kB / 3 GB, free: 85.14 MB / 0.698 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/5.606, allocations: 0.9184 MB / 3 GB, free: 84.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009368/5.607, allocations: 0.5813 MB / 3.001 GB, free: 83.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/5.607, allocations: 0 / 3.001 GB, free: 83.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/5.608, allocations: 0.497 MB / 3.001 GB, free: 83.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/5.608, allocations: 182.4 kB / 3.002 GB, free: 83.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/5.611, allocations: 2.014 MB / 3.004 GB, free: 81.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/5.612, allocations: 1.169 MB / 3.005 GB, free: 79.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003447/5.612, allocations: 152.6 kB / 3.005 GB, free: 79.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/5.612, allocations: 67.42 kB / 3.005 GB, free: 79.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.203e-06/5.612, allocations: 0 / 3.005 GB, free: 79.62 MB / 0.698 GB Notification: Performance of Templates: time 0.02687/5.639, allocations: 20.05 MB / 3.025 GB, free: 59.62 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)