Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 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.001162/0.001163, allocations: 191 kB / 16.53 MB, free: 6.391 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.16/1.16, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.347/1.347, allocations: 251.7 MB / 0.5092 GB, free: 3.078 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.001311/0.001311, allocations: 63.91 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1365/0.4801, allocations: 156.7 MB / 0.8776 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.4987, allocations: 21.56 MB / 0.8986 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.4998, allocations: 47.75 kB / 0.8987 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5012, allocations: 1.161 MB / 0.8998 GB, free: 8.754 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.001029/0.5022, allocations: 0.8562 MB / 0.9006 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.503, allocations: 410.8 kB / 0.901 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.5039, allocations: 1.243 MB / 0.9022 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.5045, allocations: 0.6869 MB / 0.9029 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.505, allocations: 0.5452 MB / 0.9034 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.5058, allocations: 0.9138 MB / 0.9043 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.5059, allocations: 64 kB / 0.9044 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.5061, allocations: 108 kB / 0.9045 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.5063, allocations: 324.7 kB / 0.9048 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.5066, allocations: 488.8 kB / 0.9053 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008048/0.5075, allocations: 1.175 MB / 0.9064 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5075, allocations: 7.922 kB / 0.9064 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5075, allocations: 4 kB / 0.9064 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.5075, allocations: 4 kB / 0.9064 GB, free: 1.938 MB / 0.7169 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.001799/0.5093, allocations: 1.471 MB / 0.9079 GB, free: 424 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.5093, allocations: 12.03 kB / 0.9079 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.5095, allocations: 131.2 kB / 0.908 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2568/0.7663, allocations: 0.646 MB / 0.9086 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.7665, allocations: 71.72 kB / 0.9087 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.7666, allocations: 47.64 kB / 0.9088 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.7675, allocations: 0.5202 MB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.7676, allocations: 1.688 kB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.7676, allocations: 16.67 kB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.7676, allocations: 14.47 kB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.7684, allocations: 417.9 kB / 0.9097 GB, free: 185.5 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.003108/0.7715, allocations: 2.722 MB / 0.9124 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.7724, allocations: 447.6 kB / 0.9128 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.773, allocations: 303.3 kB / 0.9131 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.7731, allocations: 3.562 kB / 0.9131 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.7736, allocations: 278.9 kB / 0.9133 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.475e-06/0.7736, allocations: 1.969 kB / 0.9133 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.002399/0.776, allocations: 1.149 MB / 0.9145 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.776, allocations: 58.98 kB / 0.9145 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.7778, allocations: 1.756 MB / 0.9162 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.7779, allocations: 42.08 kB / 0.9163 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.7782, allocations: 0.5263 MB / 0.9168 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-05/0.7783, allocations: 141 kB / 0.9169 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.7784, allocations: 99.91 kB / 0.917 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.7785, allocations: 334.8 kB / 0.9173 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.7789, allocations: 207.4 kB / 0.9175 GB, free: 181 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.7794, allocations: 341.6 kB / 0.9179 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/0.7802, allocations: 0.5201 MB / 0.9184 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7803, allocations: 0.9375 kB / 0.9184 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001483/0.7817, allocations: 0.8039 MB / 0.9192 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7818, allocations: 9.016 kB / 0.9192 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7818, allocations: 3.812 kB / 0.9192 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.7822, allocations: 138.1 kB / 0.9193 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.7826, allocations: 103.4 kB / 0.9194 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.7848, allocations: 2.617 MB / 0.922 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.7852, allocations: 74.28 kB / 0.922 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.7853, allocations: 25.06 kB / 0.922 GB, free: 178 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003335/0.7856, allocations: 390.4 kB / 0.9224 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.7857, allocations: 123.9 kB / 0.9225 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.7859, allocations: 138.8 kB / 0.9227 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7859, allocations: 4.75 kB / 0.9227 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7859, allocations: 2.906 kB / 0.9227 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7859, allocations: 9.328 kB / 0.9227 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.7879, allocations: 1.484 MB / 0.9241 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7879, allocations: 1.406 kB / 0.9241 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.7881, allocations: 44.91 kB / 0.9242 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/0.7884, allocations: 167.3 kB / 0.9243 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.7884, allocations: 18.78 kB / 0.9244 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.7908, allocations: 4.021 MB / 0.9283 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7908, allocations: 3.938 kB / 0.9283 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.792, allocations: 0.9863 MB / 0.9292 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.7922, allocations: 215.5 kB / 0.9295 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.7923, allocations: 19.98 kB / 0.9295 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.7926, allocations: 27.97 kB / 0.9295 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.7927, allocations: 55.86 kB / 0.9296 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.7927, allocations: 16 kB / 0.9296 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008528/0.7936, allocations: 1.281 MB / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7936, allocations: 7.938 kB / 0.9308 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005357/0.7941, allocations: 194.3 kB / 0.931 GB, free: 170.5 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: 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,12,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.0008736/0.795, allocations: 481.3 kB / 0.9315 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.7961, allocations: 0.6935 MB / 0.9321 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7961, allocations: 0 / 0.9321 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.7967, allocations: 0.5234 MB / 0.9327 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.7975, allocations: 197.3 kB / 0.9328 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.7999, allocations: 2.391 MB / 0.9352 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.8003, allocations: 1.146 MB / 0.9363 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.8005, allocations: 100.7 kB / 0.9364 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.8006, allocations: 43.42 kB / 0.9364 GB, free: 165 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.8006, allocations: 3.938 kB / 0.9364 GB, free: 165 MB / 0.7169 GB Notification: Performance of Templates: time 0.01316/0.8138, allocations: 10.04 MB / 0.9462 GB, free: 155.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)