Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_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.001042/0.001043, allocations: 103.9 kB / 16.36 MB, free: 6.418 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.0009956/0.0009956, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.236/1.236, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.001431/0.001431, allocations: 59.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1789, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4307/0.6096, allocations: 156.7 MB / 0.9378 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.6303, allocations: 21.57 MB / 0.9589 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.6316, allocations: 53.56 kB / 0.9589 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.6331, allocations: 1.161 MB / 0.9601 GB, free: 6.594 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.001125/0.6342, allocations: 0.8524 MB / 0.9609 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.6351, allocations: 403.1 kB / 0.9613 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.6362, allocations: 1.247 MB / 0.9625 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.6369, allocations: 0.6758 MB / 0.9632 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.6374, allocations: 0.5568 MB / 0.9637 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.6383, allocations: 0.9061 MB / 0.9646 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.6384, allocations: 71.94 kB / 0.9647 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.6387, allocations: 116 kB / 0.9648 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.6389, allocations: 304.8 kB / 0.9651 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.6393, allocations: 488.8 kB / 0.9655 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009297/0.6402, allocations: 1.202 MB / 0.9667 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6402, allocations: 0 / 0.9667 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6402, allocations: 4 kB / 0.9667 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.6402, allocations: 0 / 0.9667 GB, free: 15.81 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.002/0.6422, allocations: 1.469 MB / 0.9681 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.6423, allocations: 12.97 kB / 0.9682 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.6425, allocations: 131.3 kB / 0.9683 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.6432, allocations: 0.6568 MB / 0.9689 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.6434, allocations: 70.69 kB / 0.969 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.6435, allocations: 51.94 kB / 0.969 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.6443, allocations: 0.5106 MB / 0.9695 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6444, allocations: 4 kB / 0.9695 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.6444, allocations: 16 kB / 0.9696 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.6444, allocations: 8 kB / 0.9696 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.6452, allocations: 419.7 kB / 0.97 GB, free: 12.36 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.003184/0.6484, allocations: 2.723 MB / 0.9726 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.6493, allocations: 443.9 kB / 0.973 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/0.65, allocations: 301 kB / 0.9733 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.65, allocations: 7.938 kB / 0.9733 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.6505, allocations: 296.3 kB / 0.9736 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 4.188e-06/0.6505, allocations: 0 / 0.9736 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.002484/0.653, allocations: 1.151 MB / 0.9747 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6531, allocations: 63.41 kB / 0.9748 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.6547, allocations: 1.748 MB / 0.9765 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.6548, allocations: 41.69 kB / 0.9766 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.6552, allocations: 0.5288 MB / 0.9771 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.6553, allocations: 142.8 kB / 0.9772 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.6554, allocations: 94.25 kB / 0.9773 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.6555, allocations: 330 kB / 0.9776 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.656, allocations: 213 kB / 0.9778 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.6565, allocations: 339.2 kB / 0.9781 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.6574, allocations: 0.5189 MB / 0.9786 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6574, allocations: 4 kB / 0.9786 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001438/0.6588, allocations: 0.8023 MB / 0.9794 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6589, allocations: 13.81 kB / 0.9794 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6589, allocations: 0 / 0.9794 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.6593, allocations: 140.9 kB / 0.9796 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.6596, allocations: 99.81 kB / 0.9797 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.6623, allocations: 2.607 MB / 0.9822 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.6627, allocations: 75.39 kB / 0.9823 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.6627, allocations: 23.25 kB / 0.9823 GB, free: 15.12 MB / 0.7794 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.0004006/0.6631, allocations: 391.4 kB / 0.9827 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.6633, allocations: 114.5 kB / 0.9828 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.6635, allocations: 147.6 kB / 0.9829 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6635, allocations: 4 kB / 0.9829 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.6635, allocations: 4 kB / 0.9829 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6635, allocations: 3.984 kB / 0.9829 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.6657, allocations: 1.481 MB / 0.9844 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6657, allocations: 0 / 0.9844 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.6659, allocations: 47.91 kB / 0.9844 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.6663, allocations: 166.6 kB / 0.9846 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.6664, allocations: 11.98 kB / 0.9846 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.6697, allocations: 4.016 MB / 0.9885 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6698, allocations: 6.375 kB / 0.9885 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.6714, allocations: 1.001 MB / 0.9895 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.6717, allocations: 207.6 kB / 0.9897 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.6718, allocations: 12 kB / 0.9897 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.6721, allocations: 30.16 kB / 0.9898 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6722, allocations: 51.92 kB / 0.9898 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.6723, allocations: 15.98 kB / 0.9898 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00124/0.6735, allocations: 1.289 MB / 0.9911 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6735, allocations: 0 / 0.9911 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006473/0.6742, allocations: 195.8 kB / 0.9913 GB, free: 5.562 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,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.001061/0.6752, allocations: 486.2 kB / 0.9917 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.6765, allocations: 0.6677 MB / 0.9924 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6765, allocations: 0 / 0.9924 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.6773, allocations: 0.5248 MB / 0.9929 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.6782, allocations: 211 kB / 0.9931 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.6813, allocations: 2.357 MB / 0.9954 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.682, allocations: 1.153 MB / 0.9965 GB, free: 344 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.6822, allocations: 93.69 kB / 0.9966 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6823, allocations: 43.44 kB / 0.9967 GB, free: 212 kB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6823, allocations: 0 / 0.9967 GB, free: 212 kB / 0.7794 GB Notification: Performance of Templates: time 0.01682/0.6992, allocations: 10.02 MB / 1.006 GB, free: 6.375 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)