Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003827/0.003832, allocations: 356.6 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.384/1.384, allocations: 165.8 MB / 182.5 MB, free: 5.469 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.424/3.424, allocations: 410.7 MB / 0.5995 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001711/0.00171, allocations: 198.9 kB / 0.6662 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004374, allocations: 11.94 kB / 0.7423 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 67.43 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5264/0.8875, allocations: 142.5 MB / 0.9473 GB, free: 2.145 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.9129, allocations: 20.08 MB / 0.967 GB, free: 1.898 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.9147, allocations: 43.56 kB / 0.967 GB, free: 1.898 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.9177, allocations: 2.255 MB / 0.9692 GB, free: 1.883 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.9232, allocations: 2.386 MB / 0.9715 GB, free: 1.852 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.9272, allocations: 1.137 MB / 0.9726 GB, free: 1.816 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.9292, allocations: 1.668 MB / 0.9743 GB, free: 1.816 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.9301, allocations: 0.8046 MB / 0.9751 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.9309, allocations: 0.7194 MB / 0.9758 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.9322, allocations: 1.264 MB / 0.977 GB, free: 1.734 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.9323, allocations: 34.72 kB / 0.977 GB, free: 1.734 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.9327, allocations: 79.84 kB / 0.9771 GB, free: 1.73 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.9331, allocations: 497.1 kB / 0.9776 GB, free: 1.668 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.9334, allocations: 311 kB / 0.9779 GB, free: 1.637 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.9346, allocations: 1.35 MB / 0.9792 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.643e-06/0.9346, allocations: 0 / 0.9792 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.778e-06/0.9346, allocations: 0 / 0.9792 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.9346, allocations: 0 / 0.9792 GB, free: 0.9414 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003438/0.9381, allocations: 2.001 MB / 0.9811 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.9381, allocations: 15.19 kB / 0.9812 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.9385, allocations: 224.7 kB / 0.9814 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.9401, allocations: 0.9025 MB / 0.9823 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.9403, allocations: 89.88 kB / 0.9823 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9404, allocations: 63.5 kB / 0.9824 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.942, allocations: 0.728 MB / 0.9831 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.9421, allocations: 5.75 kB / 0.9831 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.9422, allocations: 29.83 kB / 0.9831 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.9422, allocations: 13.75 kB / 0.9832 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.9437, allocations: 0.5994 MB / 0.9837 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.9491, allocations: 3.393 MB / 0.9871 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.9513, allocations: 0.8311 MB / 0.9879 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.9522, allocations: 420 kB / 0.9883 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.9523, allocations: 6.781 kB / 0.9883 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009909/0.9533, allocations: 442.6 kB / 0.9887 GB, free: 12.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 4.309e-06/0.9533, allocations: 0 / 0.9887 GB, free: 12.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.00524/0.9586, allocations: 1.789 MB / 0.9904 GB, free: 11.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.9587, allocations: 61.25 kB / 0.9905 GB, free: 11.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.9628, allocations: 3.299 MB / 0.9937 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.963, allocations: 46.84 kB / 0.9938 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.9638, allocations: 0.884 MB / 0.9946 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.9641, allocations: 220.4 kB / 0.9948 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.9641, allocations: 16.53 kB / 0.9949 GB, free: 10.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.9643, allocations: 333.8 kB / 0.9952 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.9651, allocations: 286.6 kB / 0.9954 GB, free: 9.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/0.9659, allocations: 409.4 kB / 0.9958 GB, free: 9.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.9667, allocations: 329.5 kB / 0.9962 GB, free: 9.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-06/0.9667, allocations: 0 / 0.9962 GB, free: 9.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002734/0.9695, allocations: 1.168 MB / 0.9973 GB, free: 9.367 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9695, allocations: 5.812 kB / 0.9973 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9695, allocations: 2.969 kB / 0.9973 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009078/0.9704, allocations: 259.2 kB / 0.9976 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.971, allocations: 123.7 kB / 0.9977 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.9775, allocations: 4.378 MB / 1.002 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.9784, allocations: 93.56 kB / 1.002 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.9784, allocations: 30.42 kB / 1.002 GB, free: 5.621 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.9796, allocations: 0.6024 MB / 1.003 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.9799, allocations: 197.5 kB / 1.003 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.9803, allocations: 259.4 kB / 1.003 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.9803, allocations: 8 kB / 1.003 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.9804, allocations: 4 kB / 1.003 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.9804, allocations: 3.984 kB / 1.003 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.9848, allocations: 2.2 MB / 1.005 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.652e-06/0.9848, allocations: 6.859 kB / 1.005 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.9852, allocations: 66.86 kB / 1.005 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/0.9861, allocations: 251.2 kB / 1.006 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.9862, allocations: 14.92 kB / 1.006 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.9926, allocations: 4.378 MB / 1.01 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.854e-06/0.9926, allocations: 0 / 1.01 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.9964, allocations: 1.576 MB / 1.011 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.9971, allocations: 324.9 kB / 1.012 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.9973, allocations: 21.61 kB / 1.012 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.9979, allocations: 59.42 kB / 1.012 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.9981, allocations: 86.31 kB / 1.012 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.9982, allocations: 22.38 kB / 1.012 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003481/1.002, allocations: 2.427 MB / 1.014 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.03e-07/1.002, allocations: 0 / 1.014 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001211/1.003, allocations: 282 kB / 1.015 GB, free: 11.27 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/1.005, allocations: 483.9 kB / 1.015 GB, free: 11 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.007, allocations: 1.04 MB / 1.016 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.49e-06/1.007, allocations: 3.938 kB / 1.016 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.009, allocations: 0.6913 MB / 1.017 GB, free: 9.609 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.01, allocations: 258.6 kB / 1.017 GB, free: 9.438 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/1.018, allocations: 4.4 MB / 1.021 GB, free: 5.348 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.02, allocations: 1.558 MB / 1.023 GB, free: 3.836 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0006054/1.02, allocations: 150.1 kB / 1.023 GB, free: 3.688 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/1.021, allocations: 62.11 kB / 1.023 GB, free: 3.629 MB / 0.4949 GB Notification: Performance of SimCode: time 1.789e-06/1.021, allocations: 4 kB / 1.023 GB, free: 3.625 MB / 0.4949 GB Notification: Performance of Templates: time 0.03735/1.058, allocations: 12.66 MB / 1.035 GB, free: 7.184 MB / 0.5105 GB