Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8597/0.8597, 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.0009888/0.0009887, allocations: 180.9 kB / 182.2 MB, free: 9.449 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.373/1.373, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.00096/0.00096, allocations: 84.12 kB / 0.5074 GB, free: 10.08 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 281.7 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.491e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3786, allocations: 82.76 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.925/5.303, allocations: 2.152 GB / 2.909 GB, free: 132.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.304, allocations: 100.4 kB / 2.909 GB, free: 132.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1433/5.447, allocations: 70.74 MB / 2.978 GB, free: 69.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/5.447, allocations: 0 / 2.978 GB, free: 69.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001156/5.447, allocations: 35.94 kB / 2.978 GB, free: 69.67 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002311/5.449, allocations: 1.536 MB / 2.98 GB, free: 68.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/5.449, allocations: 8.031 kB / 2.98 GB, free: 68.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/5.45, allocations: 189.7 kB / 2.98 GB, free: 67.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/5.453, allocations: 1.668 MB / 2.982 GB, free: 66.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/5.453, allocations: 71 kB / 2.982 GB, free: 66.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/5.453, allocations: 47.98 kB / 2.982 GB, free: 66.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006987/5.454, allocations: 434.5 kB / 2.982 GB, free: 65.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/5.455, allocations: 0.5832 MB / 2.983 GB, free: 65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/5.455, allocations: 8 kB / 2.983 GB, free: 65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/5.455, allocations: 0 / 2.983 GB, free: 65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/5.455, allocations: 19.94 kB / 2.983 GB, free: 64.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/5.459, allocations: 3.489 MB / 2.986 GB, free: 61.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/5.459, allocations: 0.4977 MB / 2.987 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/5.46, allocations: 302.5 kB / 2.987 GB, free: 60.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/5.46, allocations: 16.5 kB / 2.987 GB, free: 60.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/5.46, allocations: 321.9 kB / 2.987 GB, free: 60.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.315e-06/5.46, allocations: 0 / 2.987 GB, free: 60.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001458/5.462, allocations: 0.846 MB / 2.988 GB, free: 59.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/5.462, allocations: 127.3 kB / 2.988 GB, free: 59.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/5.464, allocations: 1.867 MB / 2.99 GB, free: 57.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/5.464, allocations: 29.7 kB / 2.99 GB, free: 57.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/5.465, allocations: 0.691 MB / 2.991 GB, free: 56.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/5.465, allocations: 201.1 kB / 2.991 GB, free: 56.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/5.465, allocations: 0 / 2.991 GB, free: 56.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/5.465, allocations: 337.9 kB / 2.991 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/5.465, allocations: 201.5 kB / 2.992 GB, free: 55.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/5.465, allocations: 346.1 kB / 2.992 GB, free: 55.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/5.466, allocations: 245.2 kB / 2.992 GB, free: 55.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/5.466, allocations: 0 / 2.992 GB, free: 55.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001401/5.467, allocations: 0.9375 MB / 2.993 GB, free: 54.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/5.467, allocations: 11.94 kB / 2.993 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/5.467, allocations: 0 / 2.993 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/5.468, allocations: 239.3 kB / 2.993 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/5.468, allocations: 127.8 kB / 2.993 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/5.472, allocations: 3.164 MB / 2.996 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/5.472, allocations: 99.44 kB / 2.997 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/5.473, allocations: 28 kB / 2.997 GB, free: 50.41 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: 25 ($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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.000146/5.473, allocations: 136.1 kB / 2.997 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/5.473, allocations: 158 kB / 2.997 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/5.475, allocations: 0.9104 MB / 2.998 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/5.475, allocations: 8 kB / 2.998 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/5.475, allocations: 0 / 2.998 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/5.475, allocations: 7.984 kB / 2.998 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/5.478, allocations: 2.166 MB / 3 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/5.478, allocations: 4 kB / 3 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/5.478, allocations: 63.91 kB / 3 GB, free: 46.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/5.479, allocations: 255.6 kB / 3 GB, free: 46.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/5.479, allocations: 11.98 kB / 3 GB, free: 46.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/5.482, allocations: 4.293 MB / 3.004 GB, free: 42.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.482, allocations: 7.891 kB / 3.004 GB, free: 42.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/5.484, allocations: 1.261 MB / 3.006 GB, free: 40.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/5.485, allocations: 375 kB / 3.006 GB, free: 40.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/5.485, allocations: 11.98 kB / 3.006 GB, free: 40.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/5.485, allocations: 51.95 kB / 3.006 GB, free: 40.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/5.485, allocations: 76.44 kB / 3.006 GB, free: 40.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/5.485, allocations: 24 kB / 3.006 GB, free: 40.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001476/5.487, allocations: 1.467 MB / 3.008 GB, free: 38.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/5.487, allocations: 3.938 kB / 3.008 GB, free: 38.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001145/5.488, allocations: 371.3 kB / 3.008 GB, free: 38.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (42): * Single equations (assignments): 32 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001509/5.49, allocations: 0.9915 MB / 3.009 GB, free: 37.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001199/5.491, allocations: 0.7525 MB / 3.01 GB, free: 36.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/5.491, allocations: 4.188 kB / 3.01 GB, free: 36.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/5.492, allocations: 0.6133 MB / 3.01 GB, free: 36.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/5.493, allocations: 234.3 kB / 3.011 GB, free: 35.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/5.496, allocations: 2.598 MB / 3.013 GB, free: 33.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/5.497, allocations: 1.349 MB / 3.014 GB, free: 31.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003971/5.497, allocations: 185.9 kB / 3.015 GB, free: 31.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/5.498, allocations: 83.36 kB / 3.015 GB, free: 31.62 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/5.498, allocations: 0 / 3.015 GB, free: 31.62 MB / 0.698 GB Notification: Performance of Templates: time 0.02752/5.525, allocations: 18.06 MB / 3.032 GB, free: 13.66 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)