Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_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.001146/0.001146, allocations: 97.86 kB / 16.29 MB, free: 5.961 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.001134/0.001134, allocations: 182 kB / 17.22 MB, free: 5.59 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.18/1.18, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.639/1.639, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.001278/0.001278, allocations: 68.33 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1903, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4445/0.6349, allocations: 156.7 MB / 0.9371 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02389/0.6588, allocations: 21.57 MB / 0.9582 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6605, allocations: 51.69 kB / 0.9582 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.6619, allocations: 1.161 MB / 0.9594 GB, free: 6.93 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.00127/0.6632, allocations: 0.8485 MB / 0.9602 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009312/0.6641, allocations: 405.1 kB / 0.9606 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.6653, allocations: 1.249 MB / 0.9618 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006794/0.666, allocations: 0.6777 MB / 0.9625 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.6666, allocations: 0.549 MB / 0.963 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009271/0.6676, allocations: 0.9138 MB / 0.9639 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.6677, allocations: 64 kB / 0.964 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.6679, allocations: 115.9 kB / 0.9641 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.6682, allocations: 312.8 kB / 0.9644 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.6685, allocations: 488.8 kB / 0.9648 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.6695, allocations: 1.203 MB / 0.966 GB, free: 156 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6696, allocations: 0 / 0.966 GB, free: 156 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6696, allocations: 0 / 0.966 GB, free: 156 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.6696, allocations: 0 / 0.966 GB, free: 156 kB / 0.7481 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.002031/0.6716, allocations: 1.473 MB / 0.9674 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.6717, allocations: 8.031 kB / 0.9674 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.6718, allocations: 131.3 kB / 0.9676 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/0.6726, allocations: 0.655 MB / 0.9682 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.6727, allocations: 75.38 kB / 0.9683 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.6728, allocations: 48 kB / 0.9683 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/0.6736, allocations: 0.5241 MB / 0.9688 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.6737, allocations: 0 / 0.9688 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.6737, allocations: 16 kB / 0.9689 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.6737, allocations: 8 kB / 0.9689 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.6745, allocations: 415.7 kB / 0.9693 GB, free: 12.69 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.003213/0.6777, allocations: 2.785 MB / 0.972 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.6786, allocations: 467.1 kB / 0.9724 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.6791, allocations: 284.7 kB / 0.9727 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.6792, allocations: 11.98 kB / 0.9727 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.6797, allocations: 289.9 kB / 0.973 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.6797, allocations: 0 / 0.973 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.00266/0.6824, allocations: 1.25 MB / 0.9742 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6824, allocations: 67.39 kB / 0.9743 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.684, allocations: 1.744 MB / 0.976 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.6841, allocations: 37.7 kB / 0.976 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.6845, allocations: 0.5133 MB / 0.9765 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.6847, allocations: 145.9 kB / 0.9767 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.6848, allocations: 94.25 kB / 0.9767 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6849, allocations: 326 kB / 0.9771 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.6854, allocations: 225 kB / 0.9773 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.6859, allocations: 328.8 kB / 0.9776 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.6868, allocations: 0.5067 MB / 0.9781 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6868, allocations: 0 / 0.9781 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001544/0.6883, allocations: 0.854 MB / 0.9789 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6884, allocations: 8.781 kB / 0.9789 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6884, allocations: 0 / 0.9789 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.6889, allocations: 181.5 kB / 0.9791 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.6892, allocations: 99.88 kB / 0.9792 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.6926, allocations: 3 MB / 0.9821 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.693, allocations: 71.48 kB / 0.9822 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.6931, allocations: 24 kB / 0.9822 GB, free: 14.85 MB / 0.7794 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.0005707/0.6937, allocations: 379.3 kB / 0.9826 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6938, allocations: 118.4 kB / 0.9827 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.694, allocations: 148.5 kB / 0.9828 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.694, allocations: 4 kB / 0.9828 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.694, allocations: 0 / 0.9828 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.694, allocations: 9.953 kB / 0.9828 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.6962, allocations: 1.558 MB / 0.9844 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6962, allocations: 0 / 0.9844 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.6965, allocations: 40.66 kB / 0.9844 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.6969, allocations: 206.2 kB / 0.9846 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.6969, allocations: 11.98 kB / 0.9846 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/0.7011, allocations: 4.557 MB / 0.9891 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7011, allocations: 0 / 0.9891 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.7028, allocations: 1.061 MB / 0.9901 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.703, allocations: 211.6 kB / 0.9903 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/0.7031, allocations: 15.98 kB / 0.9903 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.7034, allocations: 31.97 kB / 0.9903 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.7035, allocations: 51.92 kB / 0.9904 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.7035, allocations: 12 kB / 0.9904 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00127/0.7048, allocations: 1.277 MB / 0.9916 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7048, allocations: 0 / 0.9916 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006832/0.7055, allocations: 207.7 kB / 0.9918 GB, free: 4.594 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.00105/0.7066, allocations: 493 kB / 0.9923 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.708, allocations: 0.715 MB / 0.993 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.708, allocations: 0 / 0.993 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.7088, allocations: 0.5451 MB / 0.9935 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.7096, allocations: 206.2 kB / 0.9937 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.7126, allocations: 2.358 MB / 0.996 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.7132, allocations: 1.149 MB / 0.9972 GB, free: 15.31 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.7135, allocations: 94.42 kB / 0.9973 GB, free: 15.22 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.7136, allocations: 47.42 kB / 0.9973 GB, free: 15.18 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.7136, allocations: 0 / 0.9973 GB, free: 15.18 MB / 0.795 GB Notification: Performance of Templates: time 0.01762/0.7312, allocations: 10.44 MB / 1.008 GB, free: 4.902 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)