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.00527/0.00527, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001011/0.001011, allocations: 200.6 kB / 16.68 MB, free: 5.973 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 286.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001605, allocations: 96.27 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4481/0.5939, allocations: 157 MB / 0.9197 GB, free: 5.883 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.6164, allocations: 21.89 MB / 0.9411 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.6184, allocations: 55.69 kB / 0.9411 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.6201, allocations: 1.34 MB / 0.9424 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.6215, allocations: 0.9691 MB / 0.9434 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.6227, allocations: 0.5092 MB / 0.9439 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.6241, allocations: 1.434 MB / 0.9453 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008237/0.6249, allocations: 0.7827 MB / 0.946 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.6255, allocations: 0.6542 MB / 0.9467 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.6266, allocations: 1.098 MB / 0.9478 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.6268, allocations: 72 kB / 0.9478 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.627, allocations: 120 kB / 0.9479 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.6273, allocations: 372.5 kB / 0.9483 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.6278, allocations: 0.551 MB / 0.9488 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.629, allocations: 1.379 MB / 0.9502 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.629, allocations: 3.938 kB / 0.9502 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.172e-06/0.629, allocations: 0 / 0.9502 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.629, allocations: 0 / 0.9502 GB, free: 6.582 MB / 0.7012 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.002288/0.6313, allocations: 1.729 MB / 0.9519 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6314, allocations: 8.031 kB / 0.9519 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.6316, allocations: 171.9 kB / 0.952 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.6325, allocations: 0.7648 MB / 0.9528 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6326, allocations: 78.62 kB / 0.9529 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.6327, allocations: 55.95 kB / 0.9529 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.6337, allocations: 0.5692 MB / 0.9535 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6337, allocations: 0 / 0.9535 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.6338, allocations: 27.92 kB / 0.9535 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.6338, allocations: 12 kB / 0.9535 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.6346, allocations: 447.7 kB / 0.9539 GB, free: 2.605 MB / 0.7012 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.003424/0.6381, allocations: 3.006 MB / 0.9569 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.6391, allocations: 0.4908 MB / 0.9574 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.6397, allocations: 313.4 kB / 0.9577 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.6398, allocations: 4.375 kB / 0.9577 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005926/0.6404, allocations: 333.1 kB / 0.958 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.6404, allocations: 0 / 0.958 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.002979/0.6434, allocations: 1.353 MB / 0.9593 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6434, allocations: 59.83 kB / 0.9594 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6454, allocations: 2.112 MB / 0.9614 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.6454, allocations: 45.69 kB / 0.9615 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.6459, allocations: 0.6288 MB / 0.9621 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.6461, allocations: 174.6 kB / 0.9622 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.6463, allocations: 110.3 kB / 0.9623 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6464, allocations: 329.9 kB / 0.9627 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.6469, allocations: 241.7 kB / 0.9629 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.6475, allocations: 341.9 kB / 0.9632 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.6484, allocations: 0.5466 MB / 0.9637 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6485, allocations: 0 / 0.9637 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.6501, allocations: 0.9282 MB / 0.9647 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6502, allocations: 11.94 kB / 0.9647 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6502, allocations: 4 kB / 0.9647 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.6507, allocations: 192.8 kB / 0.9649 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.6511, allocations: 107.8 kB / 0.965 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/0.6545, allocations: 3.055 MB / 0.9679 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.6549, allocations: 75.62 kB / 0.968 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.6549, allocations: 20 kB / 0.968 GB, free: 3.559 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.0004616/0.6554, allocations: 443.8 kB / 0.9685 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.6556, allocations: 147 kB / 0.9686 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.6558, allocations: 170 kB / 0.9688 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.6558, allocations: 4 kB / 0.9688 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6558, allocations: 7.938 kB / 0.9688 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6558, allocations: 3.984 kB / 0.9688 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.6583, allocations: 1.727 MB / 0.9705 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6583, allocations: 8 kB / 0.9705 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.6585, allocations: 51.89 kB / 0.9705 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.659, allocations: 198.2 kB / 0.9707 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.659, allocations: 11.98 kB / 0.9707 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.6632, allocations: 4.619 MB / 0.9752 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6632, allocations: 4.031 kB / 0.9752 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.6651, allocations: 1.167 MB / 0.9764 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.6654, allocations: 248 kB / 0.9766 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.6655, allocations: 15.98 kB / 0.9766 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.6658, allocations: 31.97 kB / 0.9767 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.6659, allocations: 60.3 kB / 0.9767 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.666, allocations: 23.98 kB / 0.9767 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001496/0.6675, allocations: 1.545 MB / 0.9782 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6675, allocations: 0 / 0.9782 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007208/0.6682, allocations: 223.7 kB / 0.9785 GB, free: 8.488 MB / 0.7325 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.001054/0.6693, allocations: 494.9 kB / 0.9789 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.6708, allocations: 0.7568 MB / 0.9797 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6708, allocations: 0 / 0.9797 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.6717, allocations: 0.5935 MB / 0.9802 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.6727, allocations: 240.5 kB / 0.9805 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.6764, allocations: 2.813 MB / 0.9832 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008309/0.6773, allocations: 1.254 MB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002637/0.6776, allocations: 93.11 kB / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.6777, allocations: 51.42 kB / 0.9846 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6777, allocations: 4 kB / 0.9846 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.01912/0.6968, allocations: 11.59 MB / 0.9959 GB, free: 6.852 MB / 0.7481 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)