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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8574/0.8574, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 187.8 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 447.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 96.23 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 272.7 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005165, allocations: 15.98 kB / 0.6929 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4898, allocations: 82.77 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.6577, allocations: 109.3 MB / 0.8805 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.658, allocations: 75.83 kB / 0.8805 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004074/0.6621, allocations: 1.475 MB / 0.882 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6621, allocations: 4 kB / 0.882 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6622, allocations: 0 / 0.882 GB, free: 11.18 MB / 0.5417 GB 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.0004446/0.6626, allocations: 363.1 kB / 0.8823 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6627, allocations: 12.56 kB / 0.8823 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.6627, allocations: 7.906 kB / 0.8823 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6629, allocations: 171 kB / 0.8825 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.6629, allocations: 11.94 kB / 0.8825 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.6629, allocations: 3.938 kB / 0.8825 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6631, allocations: 65.66 kB / 0.8826 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6631, allocations: 0 / 0.8826 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6632, allocations: 8 kB / 0.8826 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6632, allocations: 0 / 0.8826 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.6634, allocations: 59.94 kB / 0.8827 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.6639, allocations: 304.6 kB / 0.8829 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.6642, allocations: 74.53 kB / 0.883 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.6643, allocations: 0 / 0.883 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.6643, allocations: 34.56 kB / 0.883 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6643, allocations: 0 / 0.883 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003796/0.6647, allocations: 101.7 kB / 0.8831 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.6647, allocations: 55.41 kB / 0.8832 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.6648, allocations: 116.9 kB / 0.8833 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.6649, allocations: 25.7 kB / 0.8833 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.6649, allocations: 88.14 kB / 0.8834 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.665, allocations: 7.906 kB / 0.8834 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.665, allocations: 0 / 0.8834 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6651, allocations: 322.8 kB / 0.8837 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.6652, allocations: 23.98 kB / 0.8838 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.6653, allocations: 19.98 kB / 0.8838 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.6654, allocations: 23.98 kB / 0.8838 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6654, allocations: 0 / 0.8838 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.6656, allocations: 85.45 kB / 0.8839 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6656, allocations: 4 kB / 0.8839 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6656, allocations: 4 kB / 0.8839 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.6657, allocations: 0 / 0.8839 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.6657, allocations: 15.98 kB / 0.8839 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6658, allocations: 0 / 0.8839 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.6658, allocations: 4 kB / 0.8839 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.6658, allocations: 8 kB / 0.8839 GB, free: 8.984 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.6659, allocations: 117.8 kB / 0.884 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.666, allocations: 7.906 kB / 0.884 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.666, allocations: 7.906 kB / 0.884 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.666, allocations: 0 / 0.884 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.666, allocations: 0 / 0.884 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.666, allocations: 0 / 0.884 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.6662, allocations: 177.7 kB / 0.8842 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6662, allocations: 0 / 0.8842 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.6663, allocations: 12 kB / 0.8842 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6663, allocations: 3.938 kB / 0.8842 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6663, allocations: 3.984 kB / 0.8842 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6663, allocations: 0 / 0.8842 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6663, allocations: 0 / 0.8842 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.6666, allocations: 183.4 kB / 0.8844 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.6667, allocations: 88.94 kB / 0.8845 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6667, allocations: 384 / 0.8845 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.6668, allocations: 8 kB / 0.8845 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.6668, allocations: 0 / 0.8845 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6668, allocations: 3.984 kB / 0.8845 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.6669, allocations: 91.28 kB / 0.8846 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6669, allocations: 4 kB / 0.8846 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001999/0.6671, allocations: 8 kB / 0.8846 GB, free: 8.184 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001138/0.6672, allocations: 103.2 kB / 0.8847 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.6675, allocations: 51.89 kB / 0.8847 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6675, allocations: 4 kB / 0.8848 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/0.6676, allocations: 27.92 kB / 0.8848 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.6678, allocations: 14.69 kB / 0.8848 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.6682, allocations: 160.6 kB / 0.8849 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.6685, allocations: 0.6887 MB / 0.8856 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.6685, allocations: 0 / 0.8856 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.6686, allocations: 15.42 kB / 0.8856 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6686, allocations: 0 / 0.8856 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of Templates: time 0.002323/0.6709, allocations: 419.6 kB / 0.886 GB, free: 6.66 MB / 0.5417 GB 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)