Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 105.4 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.001276/0.001276, allocations: 187 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, 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.9256/0.9256, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4777, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.164/0.6417, allocations: 157.2 MB / 0.9206 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02472/0.6665, allocations: 22.01 MB / 0.9421 GB, free: 0 / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.6686, allocations: 55.73 kB / 0.9421 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.671, allocations: 2.155 MB / 0.9442 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.673, allocations: 1.417 MB / 0.9456 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.6745, allocations: 0.5775 MB / 0.9462 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.6766, allocations: 1.836 MB / 0.948 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.6779, allocations: 1.076 MB / 0.949 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6789, allocations: 0.8802 MB / 0.9499 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.6805, allocations: 1.538 MB / 0.9514 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.6807, allocations: 92 kB / 0.9515 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.681, allocations: 136 kB / 0.9516 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.6814, allocations: 0.5238 MB / 0.9521 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.6821, allocations: 0.7602 MB / 0.9529 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.6837, allocations: 1.874 MB / 0.9547 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6837, allocations: 0 / 0.9547 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6837, allocations: 0 / 0.9547 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.6837, allocations: 0 / 0.9547 GB, free: 3.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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003193/0.6869, allocations: 2.277 MB / 0.9569 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.687, allocations: 8.031 kB / 0.9569 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.6873, allocations: 230 kB / 0.9571 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3482/1.035, allocations: 1.015 MB / 0.9581 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.036, allocations: 89.47 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.036, allocations: 64.33 kB / 0.9583 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.037, allocations: 0.7244 MB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.037, allocations: 8.312 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/1.037, allocations: 27.14 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/1.037, allocations: 18.47 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.039, allocations: 0.5929 MB / 0.9596 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/1.043, allocations: 3.493 MB / 0.963 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/1.045, allocations: 0.7053 MB / 0.9637 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/1.045, allocations: 410.7 kB / 0.9641 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/1.045, allocations: 13.14 kB / 0.9641 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/1.046, allocations: 441.9 kB / 0.9646 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.444e-06/1.046, allocations: 0 / 0.9646 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.004065/1.05, allocations: 1.795 MB / 0.9663 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.05, allocations: 59.73 kB / 0.9664 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/1.053, allocations: 3.313 MB / 0.9696 GB, free: 186 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/1.053, allocations: 41.7 kB / 0.9696 GB, free: 186 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/1.054, allocations: 0.8898 MB / 0.9705 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.054, allocations: 228.8 kB / 0.9707 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.054, allocations: 130.7 kB / 0.9708 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/1.054, allocations: 337.9 kB / 0.9712 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/1.054, allocations: 301.8 kB / 0.9715 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/1.055, allocations: 434.4 kB / 0.9719 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/1.056, allocations: 0.7176 MB / 0.9726 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.056, allocations: 0 / 0.9726 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001794/1.058, allocations: 1.219 MB / 0.9738 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.058, allocations: 4 kB / 0.9738 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.058, allocations: 4 kB / 0.9738 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/1.058, allocations: 267.6 kB / 0.974 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/1.059, allocations: 129.2 kB / 0.9741 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/1.062, allocations: 4.762 MB / 0.9788 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/1.063, allocations: 91.23 kB / 0.9789 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/1.063, allocations: 24 kB / 0.9789 GB, free: 176.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006062/1.064, allocations: 0.6092 MB / 0.9795 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.064, allocations: 205.4 kB / 0.9797 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/1.064, allocations: 254.5 kB / 0.9799 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.064, allocations: 8 kB / 0.98 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/1.064, allocations: 7.938 kB / 0.98 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.064, allocations: 3.984 kB / 0.98 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/1.067, allocations: 2.329 MB / 0.9822 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.067, allocations: 3 kB / 0.9822 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/1.067, allocations: 71.89 kB / 0.9823 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/1.068, allocations: 256 kB / 0.9826 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/1.068, allocations: 19.98 kB / 0.9826 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/1.071, allocations: 4.751 MB / 0.9872 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.071, allocations: 3.375 kB / 0.9872 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.073, allocations: 1.576 MB / 0.9888 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/1.073, allocations: 310.4 kB / 0.989 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.074, allocations: 19.98 kB / 0.9891 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/1.074, allocations: 35.97 kB / 0.9891 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.074, allocations: 72.45 kB / 0.9892 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/1.074, allocations: 27.98 kB / 0.9892 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001709/1.076, allocations: 2.427 MB / 0.9916 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.01e-07/1.076, allocations: 0 / 0.9916 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007795/1.077, allocations: 290.7 kB / 0.9918 GB, free: 162.5 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001004/1.078, allocations: 484.2 kB / 0.9923 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001569/1.079, allocations: 1.049 MB / 0.9933 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.079, allocations: 4 kB / 0.9933 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/1.08, allocations: 0.6978 MB / 0.994 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.081, allocations: 292.7 kB / 0.9943 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/1.085, allocations: 4.068 MB / 0.9983 GB, free: 156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/1.086, allocations: 1.522 MB / 0.9998 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.086, allocations: 67.41 kB / 0.9998 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/1.086, allocations: 4 kB / 0.9998 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.02866/1.115, allocations: 31.47 MB / 1.031 GB, free: 123 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)