Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001033/0.001033, allocations: 183.9 kB / 17.35 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.292/1.292, allocations: 222.9 MB / 241.1 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.002056/0.002056, allocations: 297 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.9146/0.9146, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 92.28 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3751, allocations: 86.97 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1483/0.5235, allocations: 157.8 MB / 0.9212 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.5464, allocations: 22.22 MB / 0.9429 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.5484, allocations: 55.69 kB / 0.9429 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.5515, allocations: 2.74 MB / 0.9456 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.554, allocations: 1.791 MB / 0.9473 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.5558, allocations: 0.6977 MB / 0.948 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002529/0.5583, allocations: 2.288 MB / 0.9503 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.5601, allocations: 1.343 MB / 0.9516 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.5616, allocations: 1.126 MB / 0.9527 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.5638, allocations: 1.99 MB / 0.9546 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.5641, allocations: 119.9 kB / 0.9547 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.5644, allocations: 160 kB / 0.9549 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.565, allocations: 0.7029 MB / 0.9556 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.5657, allocations: 1.004 MB / 0.9566 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3345/0.9003, allocations: 2.412 MB / 0.9589 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9003, allocations: 0.5625 kB / 0.9589 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9003, allocations: 0 / 0.9589 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.249e-05/0.9004, allocations: 0 / 0.9589 GB, free: 11.2 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004382/0.9048, allocations: 2.96 MB / 0.9618 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.9048, allocations: 9.031 kB / 0.9618 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.9051, allocations: 306.2 kB / 0.9621 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.9066, allocations: 1.287 MB / 0.9634 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.9067, allocations: 107.5 kB / 0.9635 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.9069, allocations: 85.06 kB / 0.9635 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.9085, allocations: 0.9713 MB / 0.9645 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.9085, allocations: 1.031 kB / 0.9645 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.9086, allocations: 34.97 kB / 0.9645 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.9086, allocations: 19.84 kB / 0.9645 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.91, allocations: 0.8107 MB / 0.9653 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.9151, allocations: 4.376 MB / 0.9696 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.9168, allocations: 0.9405 MB / 0.9705 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.9175, allocations: 0.5182 MB / 0.971 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.9176, allocations: 21.88 kB / 0.9711 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008021/0.9184, allocations: 0.5503 MB / 0.9716 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 2.554e-06/0.9184, allocations: 0.9062 kB / 0.9716 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.004008/0.9224, allocations: 2.155 MB / 0.9737 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.9225, allocations: 62.02 kB / 0.9738 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.926, allocations: 4.446 MB / 0.9781 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.926, allocations: 45.3 kB / 0.9781 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007109/0.9267, allocations: 1.219 MB / 0.9793 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.9269, allocations: 292.8 kB / 0.9796 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.9272, allocations: 160.9 kB / 0.9798 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.9272, allocations: 343.8 kB / 0.9801 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.9279, allocations: 396.4 kB / 0.9805 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.9287, allocations: 0.5557 MB / 0.981 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.93, allocations: 0.9148 MB / 0.9819 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.93, allocations: 0 / 0.9819 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002226/0.9322, allocations: 1.501 MB / 0.9834 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9322, allocations: 5.656 kB / 0.9834 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9322, allocations: 9.969 kB / 0.9834 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.9329, allocations: 257.5 kB / 0.9836 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.9335, allocations: 174.5 kB / 0.9838 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/0.937, allocations: 4.746 MB / 0.9884 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.9378, allocations: 131.1 kB / 0.9886 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.9379, allocations: 33.28 kB / 0.9886 GB, free: 2.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009156/0.9388, allocations: 0.7717 MB / 0.9893 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.939, allocations: 276.9 kB / 0.9896 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.9394, allocations: 341.4 kB / 0.9899 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.9395, allocations: 8.953 kB / 0.9899 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9395, allocations: 2.062 kB / 0.9899 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.94, allocations: 387.8 kB / 0.9903 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.9402, allocations: 28.62 kB / 0.9903 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.9407, allocations: 47.47 kB / 0.9904 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.9409, allocations: 97.36 kB / 0.9905 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002408/0.9433, allocations: 1.38 MB / 0.9918 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002281/0.9456, allocations: 1.926 MB / 0.9937 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006016/0.9462, allocations: 457.1 kB / 0.9941 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00263/0.9488, allocations: 3.257 MB / 0.9973 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of Backend: time 3.41e-07/0.9488, allocations: 0.9062 kB / 0.9973 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.9519, allocations: 1.967 MB / 0.9992 GB, free: 340 kB / 0.7169 GB Notification: Performance of SimCode: time 0.005873/0.9578, allocations: 5.35 MB / 1.004 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.02803/0.9859, allocations: 17.7 MB / 1.022 GB, free: 11.24 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)