Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.158/1.158, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.336/1.336, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.001239/0.001239, allocations: 67.89 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1452/0.5085, allocations: 157 MB / 0.8778 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.5293, allocations: 21.68 MB / 0.899 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.5307, allocations: 47.75 kB / 0.8991 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.5322, allocations: 1.344 MB / 0.9004 GB, free: 8.18 MB / 0.7169 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.001251/0.5335, allocations: 0.9769 MB / 0.9013 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.5344, allocations: 474.8 kB / 0.9018 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.5356, allocations: 1.43 MB / 0.9032 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.5364, allocations: 0.7772 MB / 0.9039 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.537, allocations: 0.6386 MB / 0.9046 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.538, allocations: 1.101 MB / 0.9056 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5382, allocations: 72 kB / 0.9057 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.5384, allocations: 124 kB / 0.9058 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.5387, allocations: 368.5 kB / 0.9062 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.5391, allocations: 0.5549 MB / 0.9067 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.5402, allocations: 1.331 MB / 0.908 GB, free: 336 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5402, allocations: 8 kB / 0.908 GB, free: 328 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5402, allocations: 0 / 0.908 GB, free: 328 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.5403, allocations: 3.938 kB / 0.908 GB, free: 324 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.287/0.8273, allocations: 1.667 MB / 0.9097 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8273, allocations: 13.34 kB / 0.9097 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.8277, allocations: 159.5 kB / 0.9098 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.8287, allocations: 0.7451 MB / 0.9106 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.8288, allocations: 75.42 kB / 0.9106 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.8289, allocations: 51.64 kB / 0.9107 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.83, allocations: 0.5634 MB / 0.9112 GB, free: 185 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.83, allocations: 8.906 kB / 0.9112 GB, free: 185 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.83, allocations: 17.09 kB / 0.9112 GB, free: 185 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.8301, allocations: 11.5 kB / 0.9113 GB, free: 185 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.8309, allocations: 447.7 kB / 0.9117 GB, free: 184.8 MB / 0.7169 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.003381/0.8343, allocations: 3.014 MB / 0.9146 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.8354, allocations: 499.8 kB / 0.9151 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.8359, allocations: 312.1 kB / 0.9154 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.836, allocations: 16.05 kB / 0.9154 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.8365, allocations: 325 kB / 0.9157 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.084e-06/0.8365, allocations: 3.938 kB / 0.9157 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003055/0.8396, allocations: 1.356 MB / 0.9171 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.8397, allocations: 58.75 kB / 0.9171 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.8422, allocations: 2.107 MB / 0.9192 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.8422, allocations: 37.95 kB / 0.9192 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.8427, allocations: 0.6234 MB / 0.9198 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.8428, allocations: 169.8 kB / 0.92 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.843, allocations: 104.3 kB / 0.9201 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.8431, allocations: 335.6 kB / 0.9204 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.8437, allocations: 234.4 kB / 0.9206 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.8443, allocations: 351.4 kB / 0.921 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.8451, allocations: 0.5453 MB / 0.9215 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8451, allocations: 0 / 0.9215 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001557/0.8467, allocations: 0.9178 MB / 0.9224 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8467, allocations: 6.875 kB / 0.9224 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.8467, allocations: 2.75 kB / 0.9224 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.8472, allocations: 197.5 kB / 0.9226 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.8476, allocations: 111.1 kB / 0.9227 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.8503, allocations: 3.054 MB / 0.9257 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.8508, allocations: 79.05 kB / 0.9257 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.8508, allocations: 19.81 kB / 0.9258 GB, free: 176.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.8512, allocations: 437 kB / 0.9262 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.8514, allocations: 140.8 kB / 0.9263 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.8516, allocations: 164 kB / 0.9265 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8516, allocations: 3.812 kB / 0.9265 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.8516, allocations: 3.906 kB / 0.9265 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8516, allocations: 3.984 kB / 0.9265 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.8537, allocations: 1.731 MB / 0.9282 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8537, allocations: 0 / 0.9282 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.8539, allocations: 59.89 kB / 0.9282 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003742/0.8543, allocations: 193.6 kB / 0.9284 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.8544, allocations: 15.98 kB / 0.9284 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/0.8573, allocations: 4.618 MB / 0.9329 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8573, allocations: 6.531 kB / 0.9329 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.8587, allocations: 1.154 MB / 0.9341 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.859, allocations: 243.3 kB / 0.9343 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8591, allocations: 19.92 kB / 0.9343 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.8594, allocations: 35.97 kB / 0.9344 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8595, allocations: 52.36 kB / 0.9344 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.8595, allocations: 19.98 kB / 0.9344 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001031/0.8606, allocations: 1.544 MB / 0.9359 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8606, allocations: 0 / 0.9359 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006408/0.8612, allocations: 226.1 kB / 0.9362 GB, free: 165.6 MB / 0.7169 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.00094/0.8622, allocations: 488.1 kB / 0.9366 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.8635, allocations: 0.8069 MB / 0.9374 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8635, allocations: 0 / 0.9374 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.8642, allocations: 0.5839 MB / 0.938 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.8652, allocations: 232.9 kB / 0.9382 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.8681, allocations: 2.804 MB / 0.9409 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.8687, allocations: 1.249 MB / 0.9422 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.8689, allocations: 105.1 kB / 0.9423 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.869, allocations: 51.42 kB / 0.9423 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.869, allocations: 0 / 0.9423 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01543/0.8845, allocations: 11.46 MB / 0.9535 GB, free: 148.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)