Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009875, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004871/0.004871, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 254.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9211/0.9211, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 13.28 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4512/0.6026, allocations: 152.3 MB / 0.8339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.6275, allocations: 21.37 MB / 0.8548 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.629, allocations: 50.22 kB / 0.8548 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.6304, allocations: 1.127 MB / 0.8559 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.6318, allocations: 0.8064 MB / 0.8567 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.6327, allocations: 378.6 kB / 0.8571 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.6339, allocations: 1.352 MB / 0.8584 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.6345, allocations: 0.5934 MB / 0.859 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.635, allocations: 476.8 kB / 0.8594 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.6359, allocations: 0.8856 MB / 0.8603 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.636, allocations: 27.72 kB / 0.8603 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.6362, allocations: 72.2 kB / 0.8604 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.6364, allocations: 294 kB / 0.8607 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.6367, allocations: 479.9 kB / 0.8611 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008289/0.6376, allocations: 1.121 MB / 0.8622 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6376, allocations: 0 / 0.8622 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6376, allocations: 4 kB / 0.8622 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.6376, allocations: 0 / 0.8622 GB, free: 5.52 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001845/0.6395, allocations: 1.314 MB / 0.8635 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.6395, allocations: 7.969 kB / 0.8635 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6397, allocations: 130.5 kB / 0.8636 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.6404, allocations: 0.6674 MB / 0.8643 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.6406, allocations: 79.66 kB / 0.8644 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.6406, allocations: 49.97 kB / 0.8644 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.6415, allocations: 0.5254 MB / 0.8649 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6416, allocations: 6.016 kB / 0.8649 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.6416, allocations: 15.03 kB / 0.8649 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.6416, allocations: 14.84 kB / 0.865 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.6425, allocations: 440.7 kB / 0.8654 GB, free: 3.238 MB / 0.5762 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.003323/0.6458, allocations: 2.835 MB / 0.8681 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.6468, allocations: 482.7 kB / 0.8686 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.6473, allocations: 295.5 kB / 0.8689 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.6474, allocations: 6.969 kB / 0.8689 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.6479, allocations: 314.8 kB / 0.8692 GB, free: 256 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.6479, allocations: 3.938 kB / 0.8692 GB, free: 252 kB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002851/0.6508, allocations: 1.282 MB / 0.8705 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.6508, allocations: 61.22 kB / 0.8705 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.6524, allocations: 1.743 MB / 0.8722 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.6525, allocations: 36.45 kB / 0.8722 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.6529, allocations: 0.5244 MB / 0.8728 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.653, allocations: 144.6 kB / 0.8729 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.6531, allocations: 57.19 kB / 0.873 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6532, allocations: 327.1 kB / 0.8733 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.6537, allocations: 234.5 kB / 0.8735 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.6542, allocations: 347.3 kB / 0.8738 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.6552, allocations: 0.5339 MB / 0.8743 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6552, allocations: 8 kB / 0.8743 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001664/0.6569, allocations: 0.8801 MB / 0.8752 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6569, allocations: 4 kB / 0.8752 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6569, allocations: 8.109 kB / 0.8752 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.6574, allocations: 188.6 kB / 0.8754 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.6578, allocations: 103.9 kB / 0.8755 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.661, allocations: 2.748 MB / 0.8782 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.6615, allocations: 91.39 kB / 0.8783 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.6616, allocations: 28.05 kB / 0.8783 GB, free: 8.73 MB / 0.5919 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_last,$PRE.mean.y_last,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.0005124/0.6621, allocations: 383.3 kB / 0.8787 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6622, allocations: 114.6 kB / 0.8788 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.6624, allocations: 139.6 kB / 0.8789 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6625, allocations: 4 kB / 0.8789 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6625, allocations: 4 kB / 0.8789 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6625, allocations: 3.984 kB / 0.8789 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.6649, allocations: 1.594 MB / 0.8805 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6649, allocations: 0 / 0.8805 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.6652, allocations: 47.97 kB / 0.8805 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.6657, allocations: 199.8 kB / 0.8807 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.6657, allocations: 15.98 kB / 0.8807 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/0.6697, allocations: 4.132 MB / 0.8848 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6698, allocations: 0 / 0.8848 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.6717, allocations: 1.096 MB / 0.8858 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.672, allocations: 219.5 kB / 0.886 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.6721, allocations: 15.98 kB / 0.8861 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.6724, allocations: 35.97 kB / 0.8861 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.6726, allocations: 59.86 kB / 0.8861 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.6726, allocations: 19.92 kB / 0.8862 GB, free: 296 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001338/0.6739, allocations: 1.281 MB / 0.8874 GB, free: 15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.674, allocations: 4 kB / 0.8874 GB, free: 15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007973/0.6748, allocations: 203.7 kB / 0.8876 GB, free: 14.8 MB / 0.6075 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_last) * 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.001099/0.6759, allocations: 478.4 kB / 0.8881 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.6774, allocations: 0.7558 MB / 0.8888 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6774, allocations: 4 kB / 0.8888 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/0.6783, allocations: 0.5713 MB / 0.8894 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6794, allocations: 182.6 kB / 0.8895 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.6831, allocations: 2.773 MB / 0.8923 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.6838, allocations: 1.149 MB / 0.8934 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.6841, allocations: 96.77 kB / 0.8935 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.6843, allocations: 43.44 kB / 0.8935 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.6843, allocations: 0 / 0.8935 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.01739/0.7017, allocations: 9.635 MB / 0.9029 GB, free: 15.36 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)