Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001466/0.001465, allocations: 111.1 kB / 15.99 MB, free: 5.91 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.001398/0.001398, allocations: 193.1 kB / 16.91 MB, free: 5.754 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 284 kB / 291 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.169/1.169, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003873/0.003873, allocations: 99.83 kB / 0.6066 GB, free: 9.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1785, allocations: 89.14 MB / 0.6936 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.413/0.5915, allocations: 154.6 MB / 0.8446 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.6201, allocations: 21.5 MB / 0.8656 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.6227, allocations: 50.22 kB / 0.8656 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.6245, allocations: 1.135 MB / 0.8667 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.6262, allocations: 0.8219 MB / 0.8675 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.6276, allocations: 375.2 kB / 0.8679 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.6293, allocations: 1.256 MB / 0.8691 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009085/0.6303, allocations: 0.695 MB / 0.8698 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.631, allocations: 0.5568 MB / 0.8703 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009924/0.632, allocations: 0.9528 MB / 0.8713 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-05/0.6321, allocations: 64 kB / 0.8713 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.6324, allocations: 108 kB / 0.8714 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.6327, allocations: 336.7 kB / 0.8717 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.6331, allocations: 496.8 kB / 0.8722 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009483/0.6341, allocations: 0.9317 MB / 0.8731 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6341, allocations: 0 / 0.8731 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6341, allocations: 0 / 0.8731 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6341, allocations: 0 / 0.8731 GB, free: 2.668 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.002211/0.6363, allocations: 1.474 MB / 0.8746 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6364, allocations: 8.031 kB / 0.8746 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.6366, allocations: 139.2 kB / 0.8747 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.6374, allocations: 0.6591 MB / 0.8754 GB, free: 296 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.6375, allocations: 71.38 kB / 0.8754 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.6376, allocations: 48 kB / 0.8755 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.6385, allocations: 0.5146 MB / 0.876 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6386, allocations: 4 kB / 0.876 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.6386, allocations: 16 kB / 0.876 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6386, allocations: 8 kB / 0.876 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.6395, allocations: 423.7 kB / 0.8764 GB, free: 15.19 MB / 0.6387 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.003417/0.6429, allocations: 2.733 MB / 0.8791 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.6438, allocations: 449.7 kB / 0.8795 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.6444, allocations: 313.2 kB / 0.8798 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.6445, allocations: 4.656 kB / 0.8798 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005412/0.6451, allocations: 275.1 kB / 0.8801 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.6451, allocations: 0 / 0.8801 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002582/0.6477, allocations: 1.152 MB / 0.8812 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6477, allocations: 59.39 kB / 0.8812 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.6496, allocations: 1.764 MB / 0.883 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.6496, allocations: 41.7 kB / 0.883 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.6501, allocations: 0.5211 MB / 0.8835 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6502, allocations: 145.9 kB / 0.8837 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6504, allocations: 98.25 kB / 0.8837 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6505, allocations: 330 kB / 0.8841 GB, free: 7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.651, allocations: 213 kB / 0.8843 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.6515, allocations: 347.1 kB / 0.8846 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.6524, allocations: 0.5132 MB / 0.8851 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6524, allocations: 0 / 0.8851 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001518/0.654, allocations: 0.8127 MB / 0.8859 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.654, allocations: 11.94 kB / 0.8859 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.654, allocations: 4 kB / 0.8859 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.6544, allocations: 138.1 kB / 0.886 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.6548, allocations: 107.8 kB / 0.8861 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.6577, allocations: 2.607 MB / 0.8887 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.6581, allocations: 83.45 kB / 0.8888 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.6582, allocations: 23.98 kB / 0.8888 GB, free: 1.918 MB / 0.6387 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_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 (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.0004458/0.6586, allocations: 387.3 kB / 0.8892 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6588, allocations: 114.6 kB / 0.8893 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.659, allocations: 143.7 kB / 0.8894 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.659, allocations: 4 kB / 0.8894 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.659, allocations: 4 kB / 0.8894 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.659, allocations: 3.984 kB / 0.8894 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.6613, allocations: 1.493 MB / 0.8909 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6613, allocations: 0 / 0.8909 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.6615, allocations: 47.97 kB / 0.8909 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.6619, allocations: 162.5 kB / 0.8911 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.6619, allocations: 11.98 kB / 0.8911 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.6658, allocations: 4.022 MB / 0.895 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6658, allocations: 0 / 0.895 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.6675, allocations: 0.9945 MB / 0.896 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.6678, allocations: 219.5 kB / 0.8962 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.6678, allocations: 8 kB / 0.8962 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.6682, allocations: 35.95 kB / 0.8962 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.6683, allocations: 55.86 kB / 0.8963 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.6684, allocations: 16 kB / 0.8963 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001427/0.6698, allocations: 1.293 MB / 0.8976 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6698, allocations: 0 / 0.8976 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000728/0.6705, allocations: 199.7 kB / 0.8978 GB, free: 8.336 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,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.001686/0.6722, allocations: 488.1 kB / 0.8982 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.6737, allocations: 0.6937 MB / 0.8989 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6737, allocations: 0 / 0.8989 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007869/0.6745, allocations: 0.5213 MB / 0.8994 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/0.6755, allocations: 205.4 kB / 0.8996 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.6792, allocations: 2.749 MB / 0.9023 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.68, allocations: 1.149 MB / 0.9034 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6802, allocations: 47.36 kB / 0.9035 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6802, allocations: 0 / 0.9035 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of Templates: time 0.02429/0.7045, allocations: 17.81 MB / 0.9209 GB, free: 0.8203 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)