Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, 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.00106/0.00106, allocations: 176.9 kB / 182.2 MB, free: 9.473 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.46/1.46, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0009238/0.0009237, allocations: 92.08 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 283 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.507e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3843, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.178, allocations: 2.148 GB / 2.905 GB, free: 136.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/5.178, allocations: 94.27 kB / 2.906 GB, free: 136.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1381/5.316, allocations: 67.23 MB / 2.971 GB, free: 77.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.213e-06/5.316, allocations: 0 / 2.971 GB, free: 77.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001496/5.317, allocations: 28 kB / 2.971 GB, free: 77.91 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002454/5.319, allocations: 1.365 MB / 2.973 GB, free: 76.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/5.319, allocations: 16.02 kB / 2.973 GB, free: 76.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/5.32, allocations: 162 kB / 2.973 GB, free: 76.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/5.323, allocations: 1.552 MB / 2.974 GB, free: 74.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/5.323, allocations: 66.95 kB / 2.974 GB, free: 74.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/5.323, allocations: 32 kB / 2.974 GB, free: 74.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006292/5.324, allocations: 350.5 kB / 2.975 GB, free: 74.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/5.324, allocations: 461.1 kB / 2.975 GB, free: 73.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/5.325, allocations: 0 / 2.975 GB, free: 73.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/5.325, allocations: 4 kB / 2.975 GB, free: 73.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/5.325, allocations: 16 kB / 2.975 GB, free: 73.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/5.328, allocations: 2.858 MB / 2.978 GB, free: 70.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/5.329, allocations: 397.4 kB / 2.978 GB, free: 70.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/5.329, allocations: 266.5 kB / 2.979 GB, free: 70.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/5.329, allocations: 4.375 kB / 2.979 GB, free: 70.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/5.33, allocations: 276.3 kB / 2.979 GB, free: 69.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.575e-06/5.33, allocations: 0 / 2.979 GB, free: 69.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001134/5.331, allocations: 0.6559 MB / 2.979 GB, free: 69.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/5.331, allocations: 63.84 kB / 2.98 GB, free: 69.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/5.333, allocations: 1.764 MB / 2.981 GB, free: 67.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/5.333, allocations: 33.7 kB / 2.981 GB, free: 67.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/5.334, allocations: 0.5969 MB / 2.982 GB, free: 66.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/5.334, allocations: 169.6 kB / 2.982 GB, free: 66.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/5.334, allocations: 0 / 2.982 GB, free: 66.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/5.334, allocations: 329.9 kB / 2.982 GB, free: 66.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/5.334, allocations: 165.5 kB / 2.982 GB, free: 65.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/5.334, allocations: 274.9 kB / 2.983 GB, free: 65.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/5.335, allocations: 201.3 kB / 2.983 GB, free: 65.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/5.335, allocations: 0 / 2.983 GB, free: 65.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001083/5.336, allocations: 0.7264 MB / 2.984 GB, free: 64.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/5.336, allocations: 8 kB / 2.984 GB, free: 64.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/5.336, allocations: 4 kB / 2.984 GB, free: 64.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/5.336, allocations: 157.4 kB / 2.984 GB, free: 64.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/5.337, allocations: 112 kB / 2.984 GB, free: 64.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/5.339, allocations: 2.537 MB / 2.986 GB, free: 61.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/5.34, allocations: 87.55 kB / 2.986 GB, free: 61.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/5.34, allocations: 27.98 kB / 2.986 GB, free: 61.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/5.34, allocations: 127.9 kB / 2.987 GB, free: 61.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/5.34, allocations: 142.3 kB / 2.987 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/5.341, allocations: 0.7212 MB / 2.987 GB, free: 60.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/5.341, allocations: 7.938 kB / 2.987 GB, free: 60.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/5.341, allocations: 12 kB / 2.987 GB, free: 60.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/5.341, allocations: 7.922 kB / 2.987 GB, free: 60.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/5.344, allocations: 1.828 MB / 2.989 GB, free: 58.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/5.344, allocations: 0 / 2.989 GB, free: 58.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/5.344, allocations: 59.89 kB / 2.989 GB, free: 58.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/5.344, allocations: 173.6 kB / 2.989 GB, free: 58.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/5.344, allocations: 11.98 kB / 2.99 GB, free: 58.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/5.347, allocations: 3.866 MB / 2.993 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/5.347, allocations: 4.062 kB / 2.993 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/5.349, allocations: 1.009 MB / 2.994 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/5.349, allocations: 355.2 kB / 2.995 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/5.349, allocations: 8 kB / 2.995 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/5.35, allocations: 43.95 kB / 2.995 GB, free: 52.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/5.35, allocations: 64.47 kB / 2.995 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/5.35, allocations: 19.98 kB / 2.995 GB, free: 52.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001322/5.351, allocations: 1.384 MB / 2.996 GB, free: 51.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/5.351, allocations: 4 kB / 2.996 GB, free: 51.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009786/5.352, allocations: 319.5 kB / 2.996 GB, free: 51.16 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/5.354, allocations: 0.9854 MB / 2.997 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009385/5.355, allocations: 0.6322 MB / 2.998 GB, free: 49.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.355, allocations: 192 / 2.998 GB, free: 49.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/5.355, allocations: 0.509 MB / 2.998 GB, free: 49.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/5.356, allocations: 196.5 kB / 2.999 GB, free: 48.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/5.36, allocations: 2.376 MB / 3.001 GB, free: 46.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/5.36, allocations: 1.282 MB / 3.002 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003456/5.361, allocations: 156.9 kB / 3.002 GB, free: 45.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/5.361, allocations: 79.42 kB / 3.002 GB, free: 44.96 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/5.361, allocations: 3.938 kB / 3.002 GB, free: 44.95 MB / 0.698 GB Notification: Performance of Templates: time 0.02252/5.383, allocations: 14.72 MB / 3.017 GB, free: 30.32 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)