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.001259/0.001259, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001371/0.001371, allocations: 188.1 kB / 17.34 MB, free: 5.719 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00225/0.00225, allocations: 288.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 91.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4946, allocations: 86.98 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1593/0.6539, allocations: 156.7 MB / 0.9201 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.679, allocations: 21.76 MB / 0.9413 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.6811, allocations: 51.69 kB / 0.9414 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.6828, allocations: 1.165 MB / 0.9425 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.6845, allocations: 0.8446 MB / 0.9433 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.6858, allocations: 447.5 kB / 0.9438 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.6875, allocations: 1.263 MB / 0.945 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.6885, allocations: 0.6753 MB / 0.9457 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.6895, allocations: 0.5568 MB / 0.9462 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.6907, allocations: 0.9216 MB / 0.9471 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.6909, allocations: 64 kB / 0.9472 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.6912, allocations: 108 kB / 0.9473 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.6915, allocations: 316.7 kB / 0.9476 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.6918, allocations: 492.8 kB / 0.948 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.6929, allocations: 1.201 MB / 0.9492 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6929, allocations: 0 / 0.9492 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6929, allocations: 3.984 kB / 0.9492 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.6929, allocations: 0 / 0.9492 GB, free: 8.703 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.002001/0.6949, allocations: 1.478 MB / 0.9507 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.695, allocations: 11.97 kB / 0.9507 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.6951, allocations: 135.2 kB / 0.9508 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.6959, allocations: 0.6667 MB / 0.9514 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.696, allocations: 74.69 kB / 0.9515 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.6961, allocations: 47.98 kB / 0.9516 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/0.6969, allocations: 0.5184 MB / 0.9521 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.697, allocations: 4 kB / 0.9521 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.697, allocations: 20 kB / 0.9521 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.697, allocations: 8 kB / 0.9521 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.6978, allocations: 411.7 kB / 0.9525 GB, free: 5.219 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.00331/0.7011, allocations: 2.799 MB / 0.9552 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/0.7021, allocations: 457.1 kB / 0.9557 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.7026, allocations: 289.3 kB / 0.9559 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.7027, allocations: 8.266 kB / 0.9559 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/0.7032, allocations: 302.7 kB / 0.9562 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.7032, allocations: 0 / 0.9562 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.4531/1.156, allocations: 1.238 MB / 0.9574 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/1.156, allocations: 57 kB / 0.9575 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/1.159, allocations: 1.749 MB / 0.9592 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/1.159, allocations: 38.22 kB / 0.9592 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/1.16, allocations: 0.5221 MB / 0.9598 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/1.16, allocations: 145 kB / 0.9599 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/1.16, allocations: 94.88 kB / 0.96 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/1.16, allocations: 326.4 kB / 0.9603 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/1.161, allocations: 215.4 kB / 0.9605 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/1.161, allocations: 331.7 kB / 0.9608 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/1.162, allocations: 0.5046 MB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.162, allocations: 0.9688 kB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001762/1.164, allocations: 0.8542 MB / 0.9621 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.164, allocations: 8.969 kB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.164, allocations: 3.5 kB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/1.165, allocations: 183.6 kB / 0.9623 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/1.165, allocations: 96.91 kB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/1.168, allocations: 2.996 MB / 0.9653 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/1.169, allocations: 73.83 kB / 0.9654 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/1.169, allocations: 23.69 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.0006186/1.17, allocations: 385.5 kB / 0.9658 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.17, allocations: 115.4 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/1.17, allocations: 141.4 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.17, allocations: 5.312 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.17, allocations: 3.312 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.17, allocations: 2.25 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/1.173, allocations: 1.566 MB / 0.9676 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.173, allocations: 1.375 kB / 0.9676 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.173, allocations: 44.52 kB / 0.9676 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/1.173, allocations: 196.7 kB / 0.9678 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/1.173, allocations: 15.44 kB / 0.9678 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/1.177, allocations: 4.541 MB / 0.9723 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.177, allocations: 3.266 kB / 0.9723 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/1.179, allocations: 1.067 MB / 0.9733 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/1.179, allocations: 220.2 kB / 0.9735 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/1.179, allocations: 14.83 kB / 0.9735 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/1.179, allocations: 28.11 kB / 0.9736 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.179, allocations: 55.44 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/1.179, allocations: 18.72 kB / 0.9736 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001058/1.18, allocations: 1.284 MB / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.18, allocations: 0 / 0.9749 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007403/1.181, allocations: 195.3 kB / 0.9751 GB, free: 180.6 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.001105/1.182, allocations: 490.7 kB / 0.9755 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.184, allocations: 0.711 MB / 0.9762 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.184, allocations: 0 / 0.9762 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006794/1.184, allocations: 0.5522 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.000853/1.185, allocations: 205.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.00284/1.188, allocations: 2.416 MB / 0.9793 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/1.189, allocations: 1.146 MB / 0.9805 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.189, allocations: 47.42 kB / 0.9805 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.189, allocations: 0 / 0.9805 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.019/1.208, allocations: 18.06 MB / 0.9981 GB, free: 157.3 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)