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.0007565/0.0007566, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008016/0.0008016, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 274.5 kB / 291.3 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.903/0.903, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 13.94 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.001596/0.1601, allocations: 1.219 MB / 0.6857 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000632/0.1607, allocations: 392.4 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.1608, allocations: 4 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1608, allocations: 8.5 kB / 0.686 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.1609, allocations: 12.36 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.1611, allocations: 20.73 kB / 0.6861 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1612, allocations: 41.05 kB / 0.6861 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1613, allocations: 16.53 kB / 0.6861 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1615, allocations: 20.81 kB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1615, allocations: 19.92 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1615, allocations: 1.719 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1616, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1616, allocations: 7.938 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1616, allocations: 29.7 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.768e-05/0.1617, allocations: 36.14 kB / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1617, allocations: 0.9688 kB / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1617, allocations: 0 / 0.6862 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1617, allocations: 0 / 0.6862 GB, free: 13.61 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.0004755/0.1622, allocations: 358.7 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1623, allocations: 8.031 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1623, allocations: 7.906 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1624, allocations: 171 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1625, allocations: 0 / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1625, allocations: 4.625 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1627, allocations: 70.84 kB / 0.6868 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1627, allocations: 2.406 kB / 0.6868 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1627, allocations: 0 / 0.6868 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1627, allocations: 4 kB / 0.6868 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1629, allocations: 44.72 kB / 0.6869 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1633, allocations: 302.3 kB / 0.6872 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1636, allocations: 75.72 kB / 0.6872 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.1637, allocations: 28.91 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1637, allocations: 0 / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1637, allocations: 31.34 kB / 0.6873 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.1637, allocations: 7.922 kB / 0.6873 GB, free: 12.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003425/0.1641, allocations: 104 kB / 0.6874 GB, free: 12.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1641, allocations: 56.28 kB / 0.6875 GB, free: 12.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.1642, allocations: 121.8 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1643, allocations: 33.7 kB / 0.6876 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.1643, allocations: 84.22 kB / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.1643, allocations: 11.89 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1643, allocations: 3.938 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1644, allocations: 318.8 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1645, allocations: 19.98 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1646, allocations: 27.98 kB / 0.6881 GB, free: 11.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.1647, allocations: 15.98 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1647, allocations: 0 / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001845/0.1649, allocations: 89.52 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1649, allocations: 8 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1649, allocations: 0 / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1649, allocations: 3.953 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.165, allocations: 11.98 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.165, allocations: 0 / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1651, allocations: 7.984 kB / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.1651, allocations: 4 kB / 0.6882 GB, free: 11.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.1652, allocations: 114.5 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1652, allocations: 7.906 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.1652, allocations: 7.906 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1652, allocations: 0 / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1653, allocations: 7.953 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1653, allocations: 0 / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1654, allocations: 173.6 kB / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1654, allocations: 0 / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.1655, allocations: 15.92 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1655, allocations: 4 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1655, allocations: 4 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1655, allocations: 0 / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1655, allocations: 0 / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1658, allocations: 179.4 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.1658, allocations: 85.05 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1658, allocations: 4 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1659, allocations: 4 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.1659, allocations: 3.984 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1659, allocations: 4 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.166, allocations: 95.22 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1662, allocations: 8 kB / 0.6889 GB, free: 10.61 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 (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 8.493e-05/0.1663, allocations: 97.5 kB / 0.689 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1665, allocations: 51.91 kB / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1665, allocations: 0 / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.1666, allocations: 28.45 kB / 0.6891 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1669, allocations: 13.5 kB / 0.6891 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.1672, allocations: 168.5 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1675, allocations: 0.6887 MB / 0.6899 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.1675, allocations: 4.078 kB / 0.6899 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1675, allocations: 11.44 kB / 0.6899 GB, free: 9.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1675, allocations: 0 / 0.6899 GB, free: 9.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002165/0.1697, allocations: 418.6 kB / 0.6903 GB, free: 9.094 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)