Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7912/0.7912, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 172.9 kB / 182.2 MB, free: 9.465 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.389/1.389, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009154/0.0009156, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 271.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.707e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3905, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.795/5.186, allocations: 2.148 GB / 2.905 GB, free: 136.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/5.186, allocations: 94.83 kB / 2.905 GB, free: 136.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1303/5.317, allocations: 64.11 MB / 2.968 GB, free: 81.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/5.317, allocations: 0 / 2.968 GB, free: 81.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001047/5.317, allocations: 24 kB / 2.968 GB, free: 81.05 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.00194/5.319, allocations: 1.225 MB / 2.969 GB, free: 79.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/5.319, allocations: 12.03 kB / 2.969 GB, free: 79.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/5.319, allocations: 134.3 kB / 2.969 GB, free: 79.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/5.322, allocations: 1.451 MB / 2.971 GB, free: 78.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/5.322, allocations: 59 kB / 2.971 GB, free: 78.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/5.322, allocations: 35.95 kB / 2.971 GB, free: 78.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006153/5.323, allocations: 314.5 kB / 2.971 GB, free: 77.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/5.323, allocations: 417.1 kB / 2.971 GB, free: 77.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/5.323, allocations: 0 / 2.971 GB, free: 77.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/5.324, allocations: 4 kB / 2.971 GB, free: 77.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/5.324, allocations: 11.94 kB / 2.971 GB, free: 77.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/5.327, allocations: 2.562 MB / 2.974 GB, free: 74.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/5.327, allocations: 368.8 kB / 2.974 GB, free: 74.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/5.328, allocations: 259 kB / 2.974 GB, free: 73.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/5.328, allocations: 12.3 kB / 2.974 GB, free: 73.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/5.328, allocations: 231.8 kB / 2.975 GB, free: 73.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.394e-06/5.328, allocations: 0 / 2.975 GB, free: 73.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.0009964/5.329, allocations: 0.56 MB / 2.975 GB, free: 73.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/5.329, allocations: 55.41 kB / 2.975 GB, free: 73.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/5.331, allocations: 1.467 MB / 2.977 GB, free: 71.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/5.331, allocations: 25.7 kB / 2.977 GB, free: 71.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/5.332, allocations: 0.5136 MB / 2.977 GB, free: 70.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/5.332, allocations: 146 kB / 2.977 GB, free: 70.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/5.332, allocations: 0 / 2.977 GB, free: 70.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/5.332, allocations: 326 kB / 2.978 GB, free: 70.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/5.332, allocations: 153.1 kB / 2.978 GB, free: 70.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/5.332, allocations: 270.1 kB / 2.978 GB, free: 70.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/5.333, allocations: 183.8 kB / 2.978 GB, free: 69.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.333, allocations: 0 / 2.978 GB, free: 69.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009345/5.334, allocations: 0.6505 MB / 2.979 GB, free: 69.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/5.334, allocations: 4 kB / 2.979 GB, free: 69.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/5.334, allocations: 4 kB / 2.979 GB, free: 69.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/5.334, allocations: 140.9 kB / 2.979 GB, free: 69.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/5.334, allocations: 107.9 kB / 2.979 GB, free: 68.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/5.337, allocations: 2.259 MB / 2.981 GB, free: 66.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/5.337, allocations: 83.55 kB / 2.981 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/5.337, allocations: 20 kB / 2.981 GB, free: 66.5 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 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/5.338, allocations: 130.6 kB / 2.982 GB, free: 66.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/5.338, allocations: 118.5 kB / 2.982 GB, free: 66.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/5.339, allocations: 0.611 MB / 2.982 GB, free: 65.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/5.339, allocations: 4 kB / 2.982 GB, free: 65.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/5.339, allocations: 4 kB / 2.982 GB, free: 65.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/5.339, allocations: 7.938 kB / 2.982 GB, free: 65.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/5.341, allocations: 1.553 MB / 2.984 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/5.341, allocations: 0 / 2.984 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/5.341, allocations: 55.91 kB / 2.984 GB, free: 63.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/5.342, allocations: 153.6 kB / 2.984 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/5.342, allocations: 11.98 kB / 2.984 GB, free: 63.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/5.344, allocations: 3.529 MB / 2.987 GB, free: 60.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.344, allocations: 0 / 2.987 GB, free: 60.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/5.346, allocations: 0.8696 MB / 2.988 GB, free: 59.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/5.346, allocations: 295.6 kB / 2.989 GB, free: 58.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/5.346, allocations: 4 kB / 2.989 GB, free: 58.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/5.347, allocations: 39.97 kB / 2.989 GB, free: 58.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/5.347, allocations: 51.91 kB / 2.989 GB, free: 58.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/5.347, allocations: 19.98 kB / 2.989 GB, free: 58.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001388/5.348, allocations: 1.155 MB / 2.99 GB, free: 57.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.348, allocations: 0 / 2.99 GB, free: 57.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001056/5.349, allocations: 287.4 kB / 2.99 GB, free: 57.26 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.001449/5.351, allocations: 0.9719 MB / 2.991 GB, free: 56.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001017/5.352, allocations: 0.5608 MB / 2.992 GB, free: 55.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/5.352, allocations: 0 / 2.992 GB, free: 55.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/5.352, allocations: 483.8 kB / 2.992 GB, free: 55.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/5.353, allocations: 175.8 kB / 2.992 GB, free: 55.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/5.356, allocations: 1.974 MB / 2.994 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/5.357, allocations: 1.173 MB / 2.995 GB, free: 51.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003463/5.357, allocations: 140.6 kB / 2.995 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/5.357, allocations: 71.36 kB / 2.996 GB, free: 51.73 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/5.357, allocations: 0 / 2.996 GB, free: 51.73 MB / 0.698 GB Notification: Performance of Templates: time 0.02003/5.378, allocations: 13.2 MB / 3.008 GB, free: 38.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)