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.00122/0.001221, allocations: 99.97 kB / 16.35 MB, free: 5.879 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.00122/0.00122, allocations: 198.5 kB / 17.3 MB, free: 5.52 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 292.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8768/0.8768, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 99.78 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1373, allocations: 86.97 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.3786/0.5159, allocations: 156.7 MB / 0.8347 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.5382, allocations: 21.74 MB / 0.8559 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.5396, allocations: 51.69 kB / 0.8559 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.5411, allocations: 1.161 MB / 0.8571 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.5423, allocations: 0.8524 MB / 0.8579 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008931/0.5432, allocations: 448.2 kB / 0.8583 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.5442, allocations: 1.255 MB / 0.8596 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006859/0.5449, allocations: 0.6782 MB / 0.8602 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.5454, allocations: 0.549 MB / 0.8608 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.5463, allocations: 0.9177 MB / 0.8616 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.5464, allocations: 68 kB / 0.8617 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.5466, allocations: 116 kB / 0.8618 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.5469, allocations: 316.7 kB / 0.8621 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.5473, allocations: 492.8 kB / 0.8626 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.5482, allocations: 1.197 MB / 0.8638 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5483, allocations: 0 / 0.8638 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5483, allocations: 0 / 0.8638 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.5483, allocations: 0 / 0.8638 GB, free: 3.855 MB / 0.6231 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.001995/0.5503, allocations: 1.48 MB / 0.8652 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5503, allocations: 12.03 kB / 0.8652 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.5505, allocations: 127.3 kB / 0.8653 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.5513, allocations: 0.6745 MB / 0.866 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.5514, allocations: 70.69 kB / 0.8661 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.5515, allocations: 48 kB / 0.8661 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.5524, allocations: 0.5223 MB / 0.8666 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5524, allocations: 0 / 0.8666 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.5524, allocations: 19.98 kB / 0.8666 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.5525, allocations: 19.92 kB / 0.8667 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.5532, allocations: 407.7 kB / 0.8671 GB, free: 376 kB / 0.6231 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.003246/0.5565, allocations: 2.792 MB / 0.8698 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.5574, allocations: 455.3 kB / 0.8702 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.5579, allocations: 289.8 kB / 0.8705 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.558, allocations: 8.328 kB / 0.8705 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.5585, allocations: 294.7 kB / 0.8708 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 3.777e-06/0.5585, allocations: 0 / 0.8708 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002689/0.5612, allocations: 1.241 MB / 0.872 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5613, allocations: 71.33 kB / 0.8721 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.5629, allocations: 1.744 MB / 0.8738 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.5629, allocations: 37.7 kB / 0.8738 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.5633, allocations: 0.5218 MB / 0.8743 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5634, allocations: 149.9 kB / 0.8744 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5635, allocations: 94.25 kB / 0.8745 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5636, allocations: 326 kB / 0.8748 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.5641, allocations: 221 kB / 0.8751 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.5646, allocations: 324.9 kB / 0.8754 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.5655, allocations: 0.5097 MB / 0.8759 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.5655, allocations: 4 kB / 0.8759 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00146/0.5669, allocations: 0.8495 MB / 0.8767 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.567, allocations: 4 kB / 0.8767 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.567, allocations: 4 kB / 0.8767 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.5674, allocations: 187.5 kB / 0.8769 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.5678, allocations: 95.94 kB / 0.877 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.5711, allocations: 2.991 MB / 0.8799 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.5714, allocations: 71.48 kB / 0.88 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.5715, allocations: 20 kB / 0.88 GB, free: 2.535 MB / 0.6387 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.0004106/0.5719, allocations: 391.2 kB / 0.8804 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.572, allocations: 118.4 kB / 0.8805 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.5722, allocations: 143.8 kB / 0.8806 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5722, allocations: 8 kB / 0.8806 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5722, allocations: 0 / 0.8806 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5723, allocations: 3.984 kB / 0.8806 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.5746, allocations: 1.564 MB / 0.8821 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5746, allocations: 0 / 0.8821 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.5748, allocations: 39.97 kB / 0.8822 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.5753, allocations: 194.4 kB / 0.8824 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5753, allocations: 11.98 kB / 0.8824 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.5793, allocations: 4.561 MB / 0.8868 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5793, allocations: 3.938 kB / 0.8868 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.5811, allocations: 1.063 MB / 0.8879 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.5814, allocations: 211.6 kB / 0.8881 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.5815, allocations: 12 kB / 0.8881 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.5818, allocations: 35.97 kB / 0.8881 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5819, allocations: 55.86 kB / 0.8882 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.582, allocations: 15.98 kB / 0.8882 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00126/0.5832, allocations: 1.277 MB / 0.8894 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5832, allocations: 0 / 0.8894 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007197/0.5839, allocations: 203.7 kB / 0.8896 GB, free: 8.254 MB / 0.6544 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.001018/0.585, allocations: 485.1 kB / 0.8901 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.5864, allocations: 0.7227 MB / 0.8908 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5864, allocations: 0 / 0.8908 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008157/0.5872, allocations: 0.5521 MB / 0.8913 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.5881, allocations: 210.2 kB / 0.8915 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.5913, allocations: 2.372 MB / 0.8939 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.592, allocations: 1.157 MB / 0.895 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.5923, allocations: 88.78 kB / 0.8951 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5924, allocations: 43.42 kB / 0.8951 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.5924, allocations: 0 / 0.8951 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of Templates: time 0.01689/0.6093, allocations: 10.46 MB / 0.9053 GB, free: 8.426 MB / 0.67 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)