Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9229/0.9229, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001591/0.001591, allocations: 234.9 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7397/0.7397, allocations: 138.4 MB / 455.2 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5551 GB, free: 492 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.462e-05, allocations: 2.312 kB / 0.5551 GB, free: 488 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.3218/0.3218, allocations: 139.2 MB / 0.691 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.3363, allocations: 19.71 MB / 0.7103 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3375, allocations: 67.44 kB / 0.7103 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3387, allocations: 1.172 MB / 0.7115 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3401, allocations: 0.9335 MB / 0.7124 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.3408, allocations: 366.9 kB / 0.7127 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008777/0.3417, allocations: 1.317 MB / 0.714 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.3422, allocations: 0.5752 MB / 0.7146 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.3429, allocations: 0.8458 MB / 0.7154 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006164/0.3435, allocations: 0.8636 MB / 0.7162 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.3436, allocations: 68 kB / 0.7163 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3437, allocations: 111.9 kB / 0.7164 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3439, allocations: 340.7 kB / 0.7167 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.3441, allocations: 287 kB / 0.717 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.3447, allocations: 0.7861 MB / 0.7178 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3447, allocations: 0 / 0.7178 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3447, allocations: 4 kB / 0.7178 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.537e-06/0.3447, allocations: 4 kB / 0.7178 GB, free: 5.766 MB / 0.5261 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.001678/0.3464, allocations: 1.641 MB / 0.7194 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3465, allocations: 8.75 kB / 0.7194 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3466, allocations: 180 kB / 0.7196 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.3472, allocations: 0.6104 MB / 0.7202 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/0.3473, allocations: 104.3 kB / 0.7203 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.3474, allocations: 51.98 kB / 0.7203 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.3479, allocations: 384.2 kB / 0.7207 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3479, allocations: 3.984 kB / 0.7207 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.3479, allocations: 16 kB / 0.7207 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3479, allocations: 15.94 kB / 0.7207 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.3482, allocations: 157.9 kB / 0.7209 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.35, allocations: 1.869 MB / 0.7227 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.3505, allocations: 256.9 kB / 0.7229 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.3507, allocations: 152.9 kB / 0.7231 GB, free: 164 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3507, allocations: 4.328 kB / 0.7231 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.351, allocations: 197.6 kB / 0.7233 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 5.12e-06/0.351, allocations: 0 / 0.7233 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.001327/0.3523, allocations: 0.7694 MB / 0.724 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3524, allocations: 63.39 kB / 0.7241 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.3532, allocations: 1.248 MB / 0.7253 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3533, allocations: 41.69 kB / 0.7254 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.3538, allocations: 0.6075 MB / 0.7259 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.3539, allocations: 162.7 kB / 0.7261 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3541, allocations: 100 kB / 0.7262 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3542, allocations: 0.4965 MB / 0.7267 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3543, allocations: 73.27 kB / 0.7268 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3545, allocations: 234.1 kB / 0.727 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.3548, allocations: 309.3 kB / 0.7273 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3548, allocations: 0 / 0.7273 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006251/0.3554, allocations: 0.5477 MB / 0.7278 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3554, allocations: 12.91 kB / 0.7278 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3554, allocations: 8 kB / 0.7278 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3558, allocations: 136.5 kB / 0.728 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.356, allocations: 95.88 kB / 0.728 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.3578, allocations: 2.781 MB / 0.7308 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3579, allocations: 63.64 kB / 0.7308 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.358, allocations: 20.03 kB / 0.7308 GB, free: 7.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.3581, allocations: 186.5 kB / 0.731 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.3582, allocations: 139.2 kB / 0.7312 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.3588, allocations: 0.4967 MB / 0.7316 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3588, allocations: 7.938 kB / 0.7316 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3588, allocations: 4 kB / 0.7316 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3588, allocations: 3.984 kB / 0.7317 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.36, allocations: 1.264 MB / 0.7329 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.36, allocations: 0 / 0.7329 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3604, allocations: 43.91 kB / 0.7329 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.3606, allocations: 144.2 kB / 0.7331 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3607, allocations: 17.48 kB / 0.7331 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.3629, allocations: 4.68 MB / 0.7377 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3629, allocations: 4.172 kB / 0.7377 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.3636, allocations: 0.7451 MB / 0.7384 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3638, allocations: 139.1 kB / 0.7385 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.3638, allocations: 12 kB / 0.7385 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.364, allocations: 23.98 kB / 0.7386 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.3641, allocations: 60.33 kB / 0.7386 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3641, allocations: 20.73 kB / 0.7386 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005379/0.3646, allocations: 0.7844 MB / 0.7394 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.3646, allocations: 0 / 0.7394 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000433/0.3651, allocations: 207.7 kB / 0.7396 GB, free: 14.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009679/0.366, allocations: 460.1 kB / 0.74 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.367, allocations: 0.5508 MB / 0.7406 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.367, allocations: 0.6875 kB / 0.7406 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.3674, allocations: 0.5692 MB / 0.7411 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.368, allocations: 213.9 kB / 0.7413 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.37, allocations: 1.86 MB / 0.7431 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3702, allocations: 266.6 kB / 0.7434 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000138/0.3704, allocations: 80.62 kB / 0.7435 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.3704, allocations: 48.48 kB / 0.7435 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.3704, allocations: 0 / 0.7435 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.0149/0.3853, allocations: 11.28 MB / 0.7545 GB, free: 15.68 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.510287880431861]