Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.00137/0.00137, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.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.0022/0.0022, allocations: 293.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 99.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4451, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1654/0.6104, allocations: 157 MB / 0.9204 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.6352, allocations: 21.87 MB / 0.9417 GB, free: 392 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.637, allocations: 59.69 kB / 0.9418 GB, free: 332 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.639, allocations: 1.34 MB / 0.9431 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.6407, allocations: 0.9808 MB / 0.944 GB, free: 14 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.6421, allocations: 0.4995 MB / 0.9445 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.6439, allocations: 1.438 MB / 0.9459 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.6451, allocations: 0.7733 MB / 0.9467 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6461, allocations: 0.6503 MB / 0.9473 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.6475, allocations: 1.102 MB / 0.9484 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.6477, allocations: 75.94 kB / 0.9485 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.648, allocations: 124 kB / 0.9486 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.6484, allocations: 368.5 kB / 0.9489 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.6489, allocations: 0.551 MB / 0.9495 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.6503, allocations: 1.369 MB / 0.9508 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6503, allocations: 0 / 0.9508 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6503, allocations: 3.938 kB / 0.9508 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.6504, allocations: 0 / 0.9508 GB, free: 7.027 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002702/0.6531, allocations: 1.683 MB / 0.9525 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.6531, allocations: 8.031 kB / 0.9525 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.6534, allocations: 159 kB / 0.9526 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009789/0.6544, allocations: 0.7554 MB / 0.9534 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.6546, allocations: 86.67 kB / 0.9535 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.6547, allocations: 52 kB / 0.9535 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6558, allocations: 0.5653 MB / 0.9541 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.6558, allocations: 0 / 0.9541 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.6558, allocations: 20 kB / 0.9541 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.6559, allocations: 19.94 kB / 0.9541 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.6568, allocations: 451.6 kB / 0.9545 GB, free: 3.117 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.3078/0.9646, allocations: 2.993 MB / 0.9574 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.966, allocations: 498.5 kB / 0.9579 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.9668, allocations: 311.1 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.9668, allocations: 11.66 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006886/0.9675, allocations: 333.9 kB / 0.9585 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 3.316e-06/0.9675, allocations: 0 / 0.9585 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003368/0.9709, allocations: 1.349 MB / 0.9599 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.971, allocations: 58.67 kB / 0.9599 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.9732, allocations: 2.117 MB / 0.962 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.9733, allocations: 37.72 kB / 0.962 GB, free: 190 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.9737, allocations: 0.6282 MB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.9738, allocations: 169.2 kB / 0.9628 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.974, allocations: 104 kB / 0.9629 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.974, allocations: 331.6 kB / 0.9632 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.9745, allocations: 230.4 kB / 0.9634 GB, free: 189 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.9751, allocations: 350.5 kB / 0.9638 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.9759, allocations: 0.5435 MB / 0.9643 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9759, allocations: 1.375 kB / 0.9643 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00163/0.9776, allocations: 0.9186 MB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.9776, allocations: 12.19 kB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9776, allocations: 4.547 kB / 0.9652 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/0.9781, allocations: 200.7 kB / 0.9654 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.9785, allocations: 103.7 kB / 0.9655 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.9814, allocations: 3.045 MB / 0.9685 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.9819, allocations: 74.59 kB / 0.9685 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.982, allocations: 24.42 kB / 0.9686 GB, free: 185.8 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.9824, allocations: 444.3 kB / 0.969 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.9826, allocations: 140.5 kB / 0.9691 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.9828, allocations: 170.7 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9828, allocations: 3.688 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.9828, allocations: 4.578 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9828, allocations: 1.734 kB / 0.9693 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.9852, allocations: 1.735 MB / 0.971 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9852, allocations: 6.25 kB / 0.971 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.9854, allocations: 51.19 kB / 0.971 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.9858, allocations: 196.9 kB / 0.9712 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.9859, allocations: 15.66 kB / 0.9713 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.9889, allocations: 4.605 MB / 0.9757 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9889, allocations: 2.25 kB / 0.9758 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.9904, allocations: 1.172 MB / 0.9769 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.9907, allocations: 235.2 kB / 0.9771 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.9908, allocations: 12 kB / 0.9771 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.9911, allocations: 31.97 kB / 0.9772 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.9912, allocations: 60.34 kB / 0.9772 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.9913, allocations: 20 kB / 0.9772 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001124/0.9924, allocations: 1.545 MB / 0.9787 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9924, allocations: 0 / 0.9787 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006684/0.9931, allocations: 226.2 kB / 0.979 GB, free: 176.4 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.0009468/0.994, allocations: 490.7 kB / 0.9794 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.9953, allocations: 0.7623 MB / 0.9802 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9954, allocations: 0 / 0.9802 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.9961, allocations: 0.5834 MB / 0.9807 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.9971, allocations: 227.6 kB / 0.981 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/1, allocations: 2.838 MB / 0.9837 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.001, allocations: 1.237 MB / 0.9849 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.001, allocations: 54.38 kB / 0.985 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/1.001, allocations: 4 kB / 0.985 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01996/1.021, allocations: 20.48 MB / 1.005 GB, free: 149.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)