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.001574/0.001574, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001313, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.308/1.308, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 286.6 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 91.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.98 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4781/0.6245, allocations: 157 MB / 0.9196 GB, free: 5.902 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.6501, allocations: 21.88 MB / 0.941 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.6527, allocations: 59.69 kB / 0.9411 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.6547, allocations: 1.336 MB / 0.9424 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.6566, allocations: 0.973 MB / 0.9433 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.658, allocations: 0.5076 MB / 0.9438 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.6594, allocations: 1.434 MB / 0.9452 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.6602, allocations: 0.7829 MB / 0.946 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.661, allocations: 0.6464 MB / 0.9466 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.662, allocations: 1.102 MB / 0.9477 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6621, allocations: 75.94 kB / 0.9478 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.6624, allocations: 116 kB / 0.9479 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.6627, allocations: 364.5 kB / 0.9482 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.6632, allocations: 0.5588 MB / 0.9488 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.6644, allocations: 1.361 MB / 0.9501 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6644, allocations: 8 kB / 0.9501 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6644, allocations: 3.938 kB / 0.9501 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.6644, allocations: 0 / 0.9501 GB, free: 6.617 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.002351/0.6668, allocations: 1.679 MB / 0.9517 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6668, allocations: 12.03 kB / 0.9518 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.6671, allocations: 163 kB / 0.9519 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.6679, allocations: 0.7557 MB / 0.9527 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.6681, allocations: 74.69 kB / 0.9527 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.6682, allocations: 51.98 kB / 0.9528 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.6692, allocations: 0.5769 MB / 0.9533 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6692, allocations: 7.984 kB / 0.9533 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.6692, allocations: 20 kB / 0.9534 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.6693, allocations: 12 kB / 0.9534 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.6702, allocations: 439.7 kB / 0.9538 GB, free: 2.711 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.003607/0.6738, allocations: 3.01 MB / 0.9567 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.6749, allocations: 499 kB / 0.9572 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.6755, allocations: 309.4 kB / 0.9575 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.6755, allocations: 8.375 kB / 0.9575 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/0.6761, allocations: 325.2 kB / 0.9578 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 1.983e-06/0.6761, allocations: 3.938 kB / 0.9578 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003046/0.6792, allocations: 1.352 MB / 0.9591 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6792, allocations: 55.84 kB / 0.9592 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.6813, allocations: 2.112 MB / 0.9613 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.6813, allocations: 37.7 kB / 0.9613 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.6818, allocations: 0.6245 MB / 0.9619 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.6819, allocations: 169.6 kB / 0.9621 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.6821, allocations: 102.3 kB / 0.9622 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6822, allocations: 341.8 kB / 0.9625 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.6827, allocations: 237.7 kB / 0.9627 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.6833, allocations: 349.9 kB / 0.9631 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/0.6843, allocations: 0.5426 MB / 0.9636 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6843, allocations: 3.938 kB / 0.9636 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001693/0.686, allocations: 0.9139 MB / 0.9645 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.686, allocations: 15.92 kB / 0.9645 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.686, allocations: 4 kB / 0.9645 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.6866, allocations: 198.6 kB / 0.9647 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.6869, allocations: 103.9 kB / 0.9648 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/0.6904, allocations: 3.05 MB / 0.9678 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.6909, allocations: 87.33 kB / 0.9679 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.6909, allocations: 20 kB / 0.9679 GB, free: 3.68 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.0005268/0.6914, allocations: 435.8 kB / 0.9683 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6916, allocations: 142.2 kB / 0.9684 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.6919, allocations: 166 kB / 0.9686 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6919, allocations: 4 kB / 0.9686 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.6919, allocations: 7.938 kB / 0.9686 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6919, allocations: 3.984 kB / 0.9686 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.6944, allocations: 1.731 MB / 0.9703 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6945, allocations: 4 kB / 0.9703 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.6947, allocations: 55.89 kB / 0.9703 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/0.6952, allocations: 190.3 kB / 0.9705 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6952, allocations: 15.98 kB / 0.9705 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/0.6997, allocations: 4.604 MB / 0.975 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6997, allocations: 0 / 0.975 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.7016, allocations: 1.167 MB / 0.9762 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.7019, allocations: 243.2 kB / 0.9764 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.702, allocations: 15.98 kB / 0.9764 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.7023, allocations: 27.97 kB / 0.9764 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.7025, allocations: 60.36 kB / 0.9765 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.7025, allocations: 19.98 kB / 0.9765 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001461/0.704, allocations: 1.545 MB / 0.978 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.704, allocations: 0 / 0.978 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007598/0.7048, allocations: 219.7 kB / 0.9782 GB, free: 8.656 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.001154/0.7059, allocations: 499.2 kB / 0.9787 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.7075, allocations: 0.7528 MB / 0.9795 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7076, allocations: 0 / 0.9795 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.7085, allocations: 0.5975 MB / 0.98 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7095, allocations: 233.6 kB / 0.9803 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.7134, allocations: 2.78 MB / 0.983 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.7143, allocations: 1.246 MB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.7145, allocations: 93.11 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.7147, allocations: 55.42 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/0.7147, allocations: 0 / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.02085/0.7355, allocations: 11.45 MB / 0.9955 GB, free: 7.203 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)