Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001069/0.001069, allocations: 193.5 kB / 16.25 MB, free: 6.617 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 282.4 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 95.66 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1496, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002514/0.1522, allocations: 1.577 MB / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.1528, allocations: 431.5 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.1528, allocations: 0 / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.1529, allocations: 7.922 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.879e-05/0.1529, allocations: 3.938 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1531, allocations: 23.97 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.1531, allocations: 43.86 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.1532, allocations: 23.98 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.1533, allocations: 23.86 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.1534, allocations: 23.89 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1534, allocations: 7.938 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.1534, allocations: 4 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.1534, allocations: 7.938 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.1535, allocations: 27.86 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.512e-05/0.1536, allocations: 44.09 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1536, allocations: 0 / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1536, allocations: 0 / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1536, allocations: 4 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004613/0.1541, allocations: 355.3 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1541, allocations: 12.03 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.1542, allocations: 4.938 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1543, allocations: 172.3 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1543, allocations: 8.375 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1543, allocations: 4.312 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1545, allocations: 73.92 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1545, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1546, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1546, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1547, allocations: 39.97 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1552, allocations: 304.6 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.1555, allocations: 62.61 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.1556, allocations: 20.84 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1556, allocations: 0 / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1556, allocations: 34.56 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1556, allocations: 0 / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003416/0.156, allocations: 97.48 kB / 0.6829 GB, free: 13.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.156, allocations: 51.41 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.1561, allocations: 117.8 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1561, allocations: 25.7 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.1562, allocations: 100.2 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1562, allocations: 3.906 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1562, allocations: 17.72 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1563, allocations: 322.8 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1564, allocations: 23.98 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1565, allocations: 11.98 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1567, allocations: 36.84 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1567, allocations: 0 / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002027/0.1569, allocations: 81.5 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1569, allocations: 14.28 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1569, allocations: 0 / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1569, allocations: 0 / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.157, allocations: 11.98 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.157, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.1571, allocations: 4 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1571, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.1572, allocations: 127 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1572, allocations: 7.906 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.1572, allocations: 7.906 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1572, allocations: 336 / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1572, allocations: 0 / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1573, allocations: 0 / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1574, allocations: 181.5 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1574, allocations: 0 / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1575, allocations: 11.98 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1575, allocations: 0 / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1575, allocations: 4 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1575, allocations: 7.984 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1575, allocations: 3.938 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1578, allocations: 159.5 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.1578, allocations: 85.02 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1578, allocations: 3.984 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.1579, allocations: 8 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.158, allocations: 8 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.158, allocations: 0 / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.158, allocations: 95.7 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1582, allocations: 7.938 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.034e-05/0.1583, allocations: 99.23 kB / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1585, allocations: 47.91 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1585, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1586, allocations: 19.98 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1589, allocations: 4.328 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.1592, allocations: 150.7 kB / 0.6847 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1595, allocations: 0.6885 MB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.1595, allocations: 3.984 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1596, allocations: 11.44 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.485e-06/0.1596, allocations: 0 / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002182/0.1617, allocations: 464 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)