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.757/0.757, 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.0009938/0.0009939, allocations: 176.4 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.425/1.425, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009472/0.0009474, allocations: 102.5 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 268.3 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.285e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4028, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.819, allocations: 2.153 GB / 2.917 GB, free: 170.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/5.819, allocations: 103.9 kB / 2.917 GB, free: 170.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.138/5.957, allocations: 71.59 MB / 2.987 GB, free: 98.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/5.958, allocations: 0 / 2.987 GB, free: 98.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001197/5.958, allocations: 36 kB / 2.987 GB, free: 98.62 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.002501/5.96, allocations: 1.534 MB / 2.988 GB, free: 97.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/5.96, allocations: 8.031 kB / 2.988 GB, free: 97.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/5.961, allocations: 193.7 kB / 2.989 GB, free: 96.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/5.964, allocations: 1.671 MB / 2.99 GB, free: 95.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/5.964, allocations: 91 kB / 2.99 GB, free: 95.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/5.964, allocations: 72 kB / 2.99 GB, free: 94.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/5.966, allocations: 0.6756 MB / 2.991 GB, free: 94.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/5.966, allocations: 0 / 2.991 GB, free: 94.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/5.966, allocations: 32 kB / 2.991 GB, free: 94.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/5.966, allocations: 19.94 kB / 2.991 GB, free: 94.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/5.966, allocations: 473.1 kB / 2.991 GB, free: 93.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/5.971, allocations: 3.605 MB / 2.995 GB, free: 89.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/5.972, allocations: 0.5379 MB / 2.996 GB, free: 89.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/5.973, allocations: 334.4 kB / 2.996 GB, free: 89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/5.973, allocations: 8.547 kB / 2.996 GB, free: 89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005344/5.973, allocations: 350.9 kB / 2.996 GB, free: 88.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.627e-06/5.973, allocations: 0 / 2.996 GB, free: 88.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.00175/5.975, allocations: 0.8967 MB / 2.997 GB, free: 87.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/5.975, allocations: 115.4 kB / 2.997 GB, free: 87.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/5.978, allocations: 1.973 MB / 2.999 GB, free: 85.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/5.978, allocations: 41.7 kB / 2.999 GB, free: 85.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/5.978, allocations: 0.707 MB / 3 GB, free: 84.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/5.979, allocations: 217 kB / 3 GB, free: 84.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/5.979, allocations: 12 kB / 3 GB, free: 84.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/5.979, allocations: 337.9 kB / 3 GB, free: 84.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/5.979, allocations: 217.5 kB / 3.001 GB, free: 84.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/5.979, allocations: 363.6 kB / 3.001 GB, free: 83.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/5.98, allocations: 254.6 kB / 3.001 GB, free: 83.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/5.98, allocations: 4 kB / 3.001 GB, free: 83.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001599/5.981, allocations: 1.012 MB / 3.002 GB, free: 82.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/5.982, allocations: 9.406 kB / 3.002 GB, free: 82.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/5.982, allocations: 4 kB / 3.002 GB, free: 82.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/5.982, allocations: 247.5 kB / 3.002 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/5.983, allocations: 131.8 kB / 3.003 GB, free: 82.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/5.987, allocations: 3.318 MB / 3.006 GB, free: 78.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/5.987, allocations: 131.2 kB / 3.006 GB, free: 78.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/5.987, allocations: 28 kB / 3.006 GB, free: 78.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.0001572/5.987, allocations: 155.2 kB / 3.006 GB, free: 78.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/5.988, allocations: 166 kB / 3.006 GB, free: 78.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/5.989, allocations: 0.9845 MB / 3.007 GB, free: 77.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/5.989, allocations: 8 kB / 3.007 GB, free: 77.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/5.989, allocations: 0 / 3.007 GB, free: 77.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/5.989, allocations: 7.922 kB / 3.007 GB, free: 77.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/5.993, allocations: 2.303 MB / 3.009 GB, free: 74.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/5.993, allocations: 0 / 3.009 GB, free: 74.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/5.993, allocations: 75.89 kB / 3.01 GB, free: 74.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/5.994, allocations: 257.6 kB / 3.01 GB, free: 74.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/5.994, allocations: 23.94 kB / 3.01 GB, free: 74.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/5.998, allocations: 4.44 MB / 3.014 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/5.998, allocations: 0 / 3.014 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/6, allocations: 1.339 MB / 3.015 GB, free: 68.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/6, allocations: 382.8 kB / 3.016 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/6, allocations: 16 kB / 3.016 GB, free: 67.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/6.001, allocations: 59.95 kB / 3.016 GB, free: 67.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/6.001, allocations: 76.44 kB / 3.016 GB, free: 67.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/6.001, allocations: 23.98 kB / 3.016 GB, free: 67.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001728/6.003, allocations: 1.565 MB / 3.017 GB, free: 66.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/6.003, allocations: 0 / 3.017 GB, free: 66.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00123/6.004, allocations: 407.5 kB / 3.018 GB, free: 65.75 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.001758/6.006, allocations: 0.9351 MB / 3.019 GB, free: 64.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001408/6.007, allocations: 0.807 MB / 3.02 GB, free: 64.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/6.007, allocations: 4 kB / 3.02 GB, free: 64.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008309/6.008, allocations: 0.6559 MB / 3.02 GB, free: 63.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/6.009, allocations: 251.8 kB / 3.02 GB, free: 63.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/6.013, allocations: 2.64 MB / 3.023 GB, free: 60.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/6.014, allocations: 1.349 MB / 3.024 GB, free: 59.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004503/6.014, allocations: 190.2 kB / 3.025 GB, free: 58.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/6.014, allocations: 87.42 kB / 3.025 GB, free: 58.89 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/6.014, allocations: 0 / 3.025 GB, free: 58.89 MB / 0.698 GB Notification: Performance of Templates: time 0.03612/6.051, allocations: 25.36 MB / 3.049 GB, free: 33.61 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)