Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005106/0.005106, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001179/0.001179, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.238/1.238, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.354/1.354, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001354/0.001354, allocations: 71.91 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1843, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5193/0.7037, allocations: 157.2 MB / 0.9816 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.7267, allocations: 21.82 MB / 1.003 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.7289, allocations: 52.38 kB / 1.003 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.7313, allocations: 2.16 MB / 1.005 GB, free: 0.8164 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.002237/0.7336, allocations: 1.407 MB / 1.006 GB, free: 8 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.7351, allocations: 0.5361 MB / 1.007 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.7377, allocations: 1.818 MB / 1.009 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.7394, allocations: 1.086 MB / 1.01 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.7407, allocations: 0.8729 MB / 1.011 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.7426, allocations: 1.534 MB / 1.012 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.7429, allocations: 92.22 kB / 1.012 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.7434, allocations: 140.2 kB / 1.012 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.7438, allocations: 0.5306 MB / 1.013 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.7449, allocations: 0.7595 MB / 1.014 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.7468, allocations: 1.855 MB / 1.015 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7468, allocations: 0 / 1.015 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7469, allocations: 0 / 1.015 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.7469, allocations: 0 / 1.015 GB, free: 10.61 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002929/0.7498, allocations: 2.279 MB / 1.018 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7499, allocations: 10.19 kB / 1.018 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.7501, allocations: 225.9 kB / 1.018 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7513, allocations: 1.01 MB / 1.019 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.7514, allocations: 90.23 kB / 1.019 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.7515, allocations: 62.62 kB / 1.019 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.7526, allocations: 0.7255 MB / 1.02 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.7526, allocations: 6.531 kB / 1.02 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.7527, allocations: 28.67 kB / 1.02 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.7527, allocations: 15.28 kB / 1.02 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.7537, allocations: 0.59 MB / 1.02 GB, free: 7.109 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.7579, allocations: 3.507 MB / 1.024 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.7593, allocations: 0.706 MB / 1.024 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.76, allocations: 414.3 kB / 1.025 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.76, allocations: 8.562 kB / 1.025 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.7607, allocations: 434.8 kB / 1.025 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/0.7607, allocations: 4 kB / 1.025 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003807/0.7645, allocations: 1.8 MB / 1.027 GB, free: 472 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.7646, allocations: 59.97 kB / 1.027 GB, free: 400 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.7675, allocations: 3.3 MB / 1.03 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.7676, allocations: 45.69 kB / 1.03 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.7682, allocations: 0.8821 MB / 1.031 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.7684, allocations: 224.8 kB / 1.031 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.7686, allocations: 134.7 kB / 1.032 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7687, allocations: 334 kB / 1.032 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.7693, allocations: 305.8 kB / 1.032 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.7699, allocations: 430.4 kB / 1.033 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.7711, allocations: 0.721 MB / 1.033 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7711, allocations: 0 / 1.033 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002008/0.7731, allocations: 1.215 MB / 1.034 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7731, allocations: 8 kB / 1.034 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7731, allocations: 3.938 kB / 1.034 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.7738, allocations: 257.6 kB / 1.035 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.7742, allocations: 127.8 kB / 1.035 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.7785, allocations: 4.761 MB / 1.039 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.779, allocations: 91.31 kB / 1.04 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.7791, allocations: 24 kB / 1.04 GB, free: 3.141 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,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.0007223/0.7798, allocations: 0.6186 MB / 1.04 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.78, allocations: 205.4 kB / 1.04 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.7803, allocations: 248.5 kB / 1.041 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7804, allocations: 11.94 kB / 1.041 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.7804, allocations: 4 kB / 1.041 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7804, allocations: 3.984 kB / 1.041 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.7836, allocations: 2.339 MB / 1.043 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7836, allocations: 0 / 1.043 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.7839, allocations: 67.89 kB / 1.043 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.7845, allocations: 249.5 kB / 1.043 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.7845, allocations: 19.98 kB / 1.043 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.7887, allocations: 4.756 MB / 1.048 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7887, allocations: 0 / 1.048 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.7911, allocations: 1.568 MB / 1.049 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.7915, allocations: 314.4 kB / 1.05 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.7916, allocations: 23.94 kB / 1.05 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.792, allocations: 39.89 kB / 1.05 GB, free: 8.277 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7922, allocations: 72.41 kB / 1.05 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.7922, allocations: 31.98 kB / 1.05 GB, free: 8.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00221/0.7944, allocations: 2.419 MB / 1.052 GB, free: 5.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7944, allocations: 4 kB / 1.052 GB, free: 5.738 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008303/0.7953, allocations: 292.2 kB / 1.053 GB, free: 5.453 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,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,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.001036/0.7963, allocations: 0.4899 MB / 1.053 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.7981, allocations: 1.057 MB / 1.054 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7981, allocations: 0 / 1.054 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.7991, allocations: 0.6904 MB / 1.055 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.8003, allocations: 285.7 kB / 1.055 GB, free: 3.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.8051, allocations: 3.973 MB / 1.059 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.8062, allocations: 1.524 MB / 1.06 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.8066, allocations: 150.4 kB / 1.061 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.8067, allocations: 67.41 kB / 1.061 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.8067, allocations: 0 / 1.061 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.02453/0.8313, allocations: 14.56 MB / 1.075 GB, free: 14.89 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)