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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002125, allocations: 287.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9004/0.9004, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 92.19 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4536, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.16/0.6137, allocations: 156.7 MB / 0.9201 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.6386, allocations: 21.76 MB / 0.9413 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.6407, allocations: 55.69 kB / 0.9414 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.6425, allocations: 1.161 MB / 0.9425 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.6442, allocations: 0.8523 MB / 0.9433 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.6457, allocations: 442.3 kB / 0.9438 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.6474, allocations: 1.247 MB / 0.945 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.6485, allocations: 0.687 MB / 0.9456 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.6495, allocations: 0.5684 MB / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6507, allocations: 0.9177 MB / 0.9471 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.651, allocations: 68 kB / 0.9472 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.6515, allocations: 108 kB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.6518, allocations: 316.8 kB / 0.9476 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007785/0.6526, allocations: 488.8 kB / 0.948 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.6542, allocations: 1.205 MB / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6543, allocations: 0 / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6543, allocations: 0 / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-05/0.6543, allocations: 4 kB / 0.9492 GB, free: 8.66 MB / 0.7169 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.002963/0.6573, allocations: 1.475 MB / 0.9507 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6574, allocations: 15.97 kB / 0.9507 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.6576, allocations: 131.2 kB / 0.9508 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009409/0.6585, allocations: 0.6706 MB / 0.9515 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.6587, allocations: 74.67 kB / 0.9515 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.6588, allocations: 44 kB / 0.9516 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/0.6597, allocations: 0.5145 MB / 0.9521 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.6597, allocations: 4 kB / 0.9521 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.6598, allocations: 20 kB / 0.9521 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6598, allocations: 12 kB / 0.9521 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.6606, allocations: 407.7 kB / 0.9525 GB, free: 5.184 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.6639, allocations: 2.799 MB / 0.9552 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.6648, allocations: 457.1 kB / 0.9557 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.6654, allocations: 285.3 kB / 0.9559 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.6654, allocations: 8.266 kB / 0.9559 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.666, allocations: 298.8 kB / 0.9562 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/0.666, allocations: 3.984 kB / 0.9562 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.4208/1.087, allocations: 1.237 MB / 0.9574 GB, free: 192 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/1.087, allocations: 62.27 kB / 0.9575 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/1.09, allocations: 1.75 MB / 0.9592 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/1.09, allocations: 38.02 kB / 0.9592 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/1.091, allocations: 0.5148 MB / 0.9597 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.091, allocations: 149.6 kB / 0.9599 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.091, allocations: 96.78 kB / 0.96 GB, free: 191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/1.091, allocations: 326.6 kB / 0.9603 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/1.092, allocations: 218.8 kB / 0.9605 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/1.092, allocations: 324.9 kB / 0.9608 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/1.093, allocations: 0.5065 MB / 0.9613 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.093, allocations: 0 / 0.9613 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001697/1.095, allocations: 0.8573 MB / 0.9621 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.095, allocations: 6.516 kB / 0.9621 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.095, allocations: 5.938 kB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/1.095, allocations: 186.1 kB / 0.9623 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/1.096, allocations: 95.86 kB / 0.9624 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/1.099, allocations: 2.998 MB / 0.9654 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/1.099, allocations: 75.05 kB / 0.9654 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/1.099, allocations: 19.88 kB / 0.9654 GB, free: 187.6 MB / 0.7169 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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.0005128/1.1, allocations: 387.8 kB / 0.9658 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.1, allocations: 116.8 kB / 0.9659 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/1.1, allocations: 136.8 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.1, allocations: 5.031 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/1.1, allocations: 3.688 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.1, allocations: 2.484 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.103, allocations: 1.566 MB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.103, allocations: 2.125 kB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/1.103, allocations: 48.7 kB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/1.103, allocations: 194.3 kB / 0.9678 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.103, allocations: 10.73 kB / 0.9678 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/1.107, allocations: 4.548 MB / 0.9723 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.107, allocations: 3.797 kB / 0.9723 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/1.108, allocations: 1.066 MB / 0.9733 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.108, allocations: 225.4 kB / 0.9735 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/1.109, allocations: 13.36 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.109, allocations: 28.3 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.109, allocations: 54.55 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/1.109, allocations: 18.72 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009783/1.11, allocations: 1.278 MB / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.11, allocations: 0 / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006727/1.111, allocations: 207.6 kB / 0.9751 GB, free: 180.5 MB / 0.7169 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.001031/1.112, allocations: 479.7 kB / 0.9756 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001245/1.113, allocations: 0.7087 MB / 0.9762 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.113, allocations: 0 / 0.9762 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/1.114, allocations: 0.554 MB / 0.9768 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/1.115, allocations: 215.5 kB / 0.977 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/1.117, allocations: 2.406 MB / 0.9793 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/1.118, allocations: 1.146 MB / 0.9805 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.118, allocations: 47.42 kB / 0.9805 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/1.118, allocations: 4 kB / 0.9805 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01738/1.135, allocations: 17.89 MB / 0.998 GB, free: 157.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)