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.004847/0.004847, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001258/0.001258, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.176/1.176, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.359/1.359, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001279/0.001279, allocations: 77.77 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1737, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.5573/0.7311, allocations: 157.5 MB / 0.9818 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.7552, allocations: 21.89 MB / 1.003 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.7574, allocations: 54.78 kB / 1.003 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.7598, allocations: 2.167 MB / 1.005 GB, free: 0.5195 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.002321/0.7622, allocations: 1.45 MB / 1.007 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.7637, allocations: 0.566 MB / 1.007 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.7662, allocations: 1.92 MB / 1.009 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.7679, allocations: 1.116 MB / 1.01 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.7691, allocations: 0.9082 MB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.7706, allocations: 1.593 MB / 1.013 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.7707, allocations: 95.69 kB / 1.013 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.771, allocations: 147.5 kB / 1.013 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/0.7714, allocations: 0.5636 MB / 1.014 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.772, allocations: 0.7964 MB / 1.014 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.7737, allocations: 1.939 MB / 1.016 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7737, allocations: 0 / 1.016 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7737, allocations: 0 / 1.016 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.7737, allocations: 0 / 1.016 GB, free: 10.01 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.002984/0.7767, allocations: 2.426 MB / 1.019 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7768, allocations: 9.562 kB / 1.019 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.777, allocations: 254.6 kB / 1.019 GB, free: 8.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.7783, allocations: 1.049 MB / 1.02 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.7784, allocations: 96.98 kB / 1.02 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.7785, allocations: 67.47 kB / 1.02 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.7797, allocations: 0.7815 MB / 1.021 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.7797, allocations: 0 / 1.021 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.7798, allocations: 32.83 kB / 1.021 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.7798, allocations: 17.34 kB / 1.021 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.7809, allocations: 0.6286 MB / 1.021 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.7852, allocations: 3.734 MB / 1.025 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.7866, allocations: 0.734 MB / 1.026 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.7873, allocations: 434.3 kB / 1.026 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.7874, allocations: 12.55 kB / 1.026 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.7881, allocations: 452.1 kB / 1.027 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.7881, allocations: 0 / 1.027 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.003763/0.7919, allocations: 1.843 MB / 1.028 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.792, allocations: 60.06 kB / 1.029 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.795, allocations: 3.363 MB / 1.032 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.795, allocations: 45.7 kB / 1.032 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006832/0.7957, allocations: 0.9296 MB / 1.033 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.7959, allocations: 242 kB / 1.033 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.7961, allocations: 146.6 kB / 1.033 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7962, allocations: 341.9 kB / 1.033 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.7968, allocations: 313.8 kB / 1.034 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.7975, allocations: 468.1 kB / 1.034 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7987, allocations: 0.7556 MB / 1.035 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7987, allocations: 0 / 1.035 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002154/0.8009, allocations: 1.264 MB / 1.036 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.8009, allocations: 8 kB / 1.036 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8009, allocations: 4 kB / 1.036 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/0.8016, allocations: 257.6 kB / 1.036 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.8021, allocations: 135.7 kB / 1.037 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.8069, allocations: 4.762 MB / 1.041 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.8074, allocations: 99.45 kB / 1.041 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.8075, allocations: 28 kB / 1.041 GB, free: 1.309 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.0006571/0.8082, allocations: 0.6147 MB / 1.042 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.8084, allocations: 222.5 kB / 1.042 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.8087, allocations: 261.1 kB / 1.042 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8087, allocations: 4 kB / 1.042 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.8087, allocations: 7.938 kB / 1.042 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.8088, allocations: 3.984 kB / 1.042 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.8121, allocations: 2.405 MB / 1.045 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.8121, allocations: 0 / 1.045 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.8124, allocations: 71.89 kB / 1.045 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/0.8129, allocations: 245.5 kB / 1.045 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.813, allocations: 23.98 kB / 1.045 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.8171, allocations: 4.748 MB / 1.05 GB, free: 8.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8171, allocations: 3.938 kB / 1.05 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.8195, allocations: 1.647 MB / 1.051 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.8199, allocations: 335.4 kB / 1.052 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.82, allocations: 19.98 kB / 1.052 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.8204, allocations: 39.91 kB / 1.052 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.8206, allocations: 72.55 kB / 1.052 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.8206, allocations: 23.98 kB / 1.052 GB, free: 6.184 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002229/0.8229, allocations: 2.464 MB / 1.054 GB, free: 3.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8229, allocations: 0 / 1.054 GB, free: 3.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007524/0.8236, allocations: 307.5 kB / 1.054 GB, free: 3.406 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.00102/0.8247, allocations: 486.1 kB / 1.055 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.8264, allocations: 1.094 MB / 1.056 GB, free: 1.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8265, allocations: 0 / 1.056 GB, free: 1.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009644/0.8274, allocations: 0.7106 MB / 1.057 GB, free: 1.246 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.8286, allocations: 302.8 kB / 1.057 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.8335, allocations: 4.141 MB / 1.061 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.8345, allocations: 1.552 MB / 1.063 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.8349, allocations: 154.6 kB / 1.063 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.8351, allocations: 67.42 kB / 1.063 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.8351, allocations: 0 / 1.063 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.02479/0.8599, allocations: 15.27 MB / 1.078 GB, free: 11.89 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)