Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003943/0.003943, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.00103/0.00103, allocations: 198.1 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5302/0.6923, allocations: 157.5 MB / 0.9818 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.7159, allocations: 21.89 MB / 1.003 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.7183, allocations: 54.75 kB / 1.003 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.7203, allocations: 2.17 MB / 1.005 GB, free: 0.5156 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001768/0.7221, allocations: 1.459 MB / 1.007 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.7233, allocations: 0.5742 MB / 1.007 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.7248, allocations: 1.916 MB / 1.009 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.7258, allocations: 1.124 MB / 1.01 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008381/0.7266, allocations: 0.916 MB / 1.011 GB, free: 13 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.728, allocations: 1.59 MB / 1.013 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.7281, allocations: 95.38 kB / 1.013 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.7283, allocations: 143.2 kB / 1.013 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.7287, allocations: 0.5643 MB / 1.014 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.7293, allocations: 0.8005 MB / 1.014 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.7307, allocations: 1.925 MB / 1.016 GB, free: 10 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7307, allocations: 0 / 1.016 GB, free: 10 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7307, allocations: 0 / 1.016 GB, free: 10 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.7307, allocations: 0 / 1.016 GB, free: 10 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002639/0.7333, allocations: 2.35 MB / 1.019 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.7334, allocations: 14.31 kB / 1.019 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.7336, allocations: 237 kB / 1.019 GB, free: 8.094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7347, allocations: 1.029 MB / 1.02 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.7348, allocations: 90.12 kB / 1.02 GB, free: 7.207 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.7349, allocations: 76.2 kB / 1.02 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.736, allocations: 0.779 MB / 1.021 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.736, allocations: 2.188 kB / 1.021 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.7361, allocations: 29.8 kB / 1.021 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.7361, allocations: 14.72 kB / 1.021 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.7371, allocations: 0.6387 MB / 1.021 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.7411, allocations: 3.718 MB / 1.025 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.7425, allocations: 0.74 MB / 1.026 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.7431, allocations: 430.3 kB / 1.026 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.7432, allocations: 8.562 kB / 1.026 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006678/0.7439, allocations: 456 kB / 1.027 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 1.973e-06/0.7439, allocations: 0 / 1.027 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.003537/0.7474, allocations: 1.835 MB / 1.028 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7475, allocations: 64.05 kB / 1.028 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.7503, allocations: 3.359 MB / 1.032 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.7504, allocations: 49.69 kB / 1.032 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.751, allocations: 0.9214 MB / 1.033 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.7512, allocations: 232.7 kB / 1.033 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.7514, allocations: 138.7 kB / 1.033 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.7515, allocations: 341.9 kB / 1.033 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.752, allocations: 317.8 kB / 1.034 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.7527, allocations: 472 kB / 1.034 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7538, allocations: 0.7478 MB / 1.035 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7538, allocations: 4 kB / 1.035 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001938/0.7557, allocations: 1.247 MB / 1.036 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7558, allocations: 10.66 kB / 1.036 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7558, allocations: 4 kB / 1.036 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/0.7564, allocations: 261.5 kB / 1.036 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.7569, allocations: 143.7 kB / 1.036 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.761, allocations: 4.746 MB / 1.041 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.7615, allocations: 103.2 kB / 1.041 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.7616, allocations: 28 kB / 1.041 GB, free: 1.426 MB / 0.7794 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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.0006354/0.7622, allocations: 0.6108 MB / 1.042 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.7624, allocations: 209.3 kB / 1.042 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.7628, allocations: 257.1 kB / 1.042 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.7628, allocations: 8 kB / 1.042 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.7628, allocations: 7.938 kB / 1.042 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7628, allocations: 3.984 kB / 1.042 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.766, allocations: 2.401 MB / 1.045 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7661, allocations: 4 kB / 1.045 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.7664, allocations: 71.89 kB / 1.045 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005799/0.767, allocations: 249.5 kB / 1.045 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.767, allocations: 23.98 kB / 1.045 GB, free: 13.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/0.7712, allocations: 4.744 MB / 1.05 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7712, allocations: 0 / 1.05 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.7738, allocations: 1.638 MB / 1.051 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.7744, allocations: 322.2 kB / 1.051 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.7746, allocations: 16 kB / 1.051 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.7751, allocations: 47.89 kB / 1.052 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.7753, allocations: 72.55 kB / 1.052 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.7753, allocations: 23.98 kB / 1.052 GB, free: 6.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0031/0.7784, allocations: 2.464 MB / 1.054 GB, free: 3.859 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7784, allocations: 0 / 1.054 GB, free: 3.859 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00101/0.7794, allocations: 287.6 kB / 1.054 GB, free: 3.578 MB / 0.795 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001129/0.7806, allocations: 0.497 MB / 1.055 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.7825, allocations: 1.094 MB / 1.056 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7825, allocations: 0 / 1.056 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009747/0.7835, allocations: 0.7105 MB / 1.057 GB, free: 1.398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7846, allocations: 299.8 kB / 1.057 GB, free: 1.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.7898, allocations: 4.061 MB / 1.061 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.791, allocations: 1.556 MB / 1.062 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.7915, allocations: 158.6 kB / 1.062 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.7917, allocations: 67.42 kB / 1.063 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.7917, allocations: 0 / 1.063 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.02694/0.8186, allocations: 15.27 MB / 1.077 GB, free: 12.12 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)