Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00454/0.00454, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001066/0.001066, allocations: 194.2 kB / 16.67 MB, free: 5.973 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.261/1.261, allocations: 205.1 MB / 222.5 MB, free: 4.445 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.344/1.344, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001373/0.001373, allocations: 69.94 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1708, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5461/0.7169, allocations: 156.7 MB / 0.9811 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.7382, allocations: 21.58 MB / 1.002 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.7402, allocations: 50.28 kB / 1.002 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.7415, allocations: 1.166 MB / 1.003 GB, free: 2.07 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.00115/0.7427, allocations: 0.8698 MB / 1.004 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.7436, allocations: 400.2 kB / 1.005 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.7445, allocations: 1.255 MB / 1.006 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.7451, allocations: 0.6782 MB / 1.006 GB, free: 100 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.7456, allocations: 0.553 MB / 1.007 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.7464, allocations: 0.9171 MB / 1.008 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.7465, allocations: 65.5 kB / 1.008 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.7467, allocations: 106.2 kB / 1.008 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.7469, allocations: 319.9 kB / 1.008 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.7473, allocations: 495 kB / 1.009 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000891/0.7481, allocations: 1.193 MB / 1.01 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7482, allocations: 4 kB / 1.01 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7482, allocations: 0 / 1.01 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7482, allocations: 0 / 1.01 GB, free: 13.98 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001814/0.75, allocations: 1.473 MB / 1.011 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.75, allocations: 10.09 kB / 1.011 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.7502, allocations: 133.9 kB / 1.012 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.7509, allocations: 0.6576 MB / 1.012 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.751, allocations: 74.38 kB / 1.012 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.7511, allocations: 45.84 kB / 1.012 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.7519, allocations: 0.5206 MB / 1.013 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.7519, allocations: 2.094 kB / 1.013 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.7519, allocations: 18.61 kB / 1.013 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.7519, allocations: 12.19 kB / 1.013 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.7526, allocations: 404.3 kB / 1.013 GB, free: 11.61 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.7555, allocations: 2.784 MB / 1.016 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.7564, allocations: 465.9 kB / 1.016 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.7568, allocations: 293.6 kB / 1.017 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.7569, allocations: 4.719 kB / 1.017 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004628/0.7573, allocations: 293.9 kB / 1.017 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 1.804e-06/0.7574, allocations: 0 / 1.017 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002478/0.7598, allocations: 1.246 MB / 1.018 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7599, allocations: 70.52 kB / 1.018 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.7613, allocations: 1.749 MB / 1.02 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.7613, allocations: 36.48 kB / 1.02 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.7617, allocations: 0.51 MB / 1.02 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.7618, allocations: 146.2 kB / 1.021 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.7619, allocations: 102.4 kB / 1.021 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.762, allocations: 326.4 kB / 1.021 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.7624, allocations: 214.2 kB / 1.021 GB, free: 5.887 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.7629, allocations: 327.7 kB / 1.022 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.7636, allocations: 0.5137 MB / 1.022 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7636, allocations: 2.969 kB / 1.022 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001328/0.765, allocations: 0.8492 MB / 1.023 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.765, allocations: 8 kB / 1.023 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.765, allocations: 4 kB / 1.023 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.7655, allocations: 188.8 kB / 1.023 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.7658, allocations: 87.88 kB / 1.023 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.7687, allocations: 2.994 MB / 1.026 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.7691, allocations: 79.48 kB / 1.026 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.7691, allocations: 16.44 kB / 1.026 GB, free: 1.195 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.7695, allocations: 387.4 kB / 1.027 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.7696, allocations: 122.4 kB / 1.027 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.7698, allocations: 135.6 kB / 1.027 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7698, allocations: 7.938 kB / 1.027 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.7698, allocations: 4 kB / 1.027 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7698, allocations: 7.984 kB / 1.027 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.7719, allocations: 1.568 MB / 1.028 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7719, allocations: 0 / 1.028 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.7721, allocations: 39.97 kB / 1.028 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.7725, allocations: 198.3 kB / 1.029 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.7726, allocations: 15.98 kB / 1.029 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.7762, allocations: 4.545 MB / 1.033 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7762, allocations: 8.016 kB / 1.033 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.7777, allocations: 1.055 MB / 1.034 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.778, allocations: 211.6 kB / 1.034 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.778, allocations: 15.98 kB / 1.034 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.7783, allocations: 27.97 kB / 1.034 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7784, allocations: 55.86 kB / 1.034 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.7785, allocations: 16 kB / 1.034 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001115/0.7796, allocations: 1.281 MB / 1.036 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7796, allocations: 0 / 1.036 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006353/0.7802, allocations: 203.6 kB / 1.036 GB, free: 6.918 MB / 0.7794 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.0009616/0.7812, allocations: 478.9 kB / 1.036 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.7825, allocations: 0.7118 MB / 1.037 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7825, allocations: 0 / 1.037 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.7832, allocations: 0.5604 MB / 1.038 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.784, allocations: 206.9 kB / 1.038 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.7869, allocations: 2.363 MB / 1.04 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.7875, allocations: 1.153 MB / 1.041 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.7877, allocations: 88.8 kB / 1.041 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.7878, allocations: 43.42 kB / 1.041 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7878, allocations: 0 / 1.041 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of Templates: time 0.01581/0.8036, allocations: 10.57 MB / 1.052 GB, free: 6.977 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)