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.00103/0.00103, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00111/0.00111, allocations: 191 kB / 17.29 MB, free: 5.516 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 287.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.8841/0.8841, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 91.39 kB / 0.5967 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 86.97 MB / 0.6816 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002647/0.1512, allocations: 1.522 MB / 0.6831 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.1519, allocations: 446.9 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1519, allocations: 0 / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.152, allocations: 3.938 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.152, allocations: 3.938 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1522, allocations: 27.92 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.1523, allocations: 47.84 kB / 0.6836 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1524, allocations: 31.89 kB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1525, allocations: 15.94 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.1526, allocations: 19.91 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1526, allocations: 4 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.1526, allocations: 4 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1526, allocations: 11.94 kB / 0.6837 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1527, allocations: 27.86 kB / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.1528, allocations: 39.81 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1528, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1528, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1528, allocations: 0 / 0.6837 GB, free: 5.297 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.0004463/0.1533, allocations: 359.4 kB / 0.6841 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1533, allocations: 11.97 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1533, allocations: 16.83 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1535, allocations: 168.2 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1535, allocations: 8.375 kB / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1535, allocations: 384 / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1537, allocations: 65.98 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1537, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1537, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1537, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1539, allocations: 43.95 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.1543, allocations: 308.6 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1546, allocations: 58.61 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.1547, allocations: 20.84 kB / 0.6847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1547, allocations: 4 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1548, allocations: 34.56 kB / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.1548, allocations: 3.938 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003278/0.1551, allocations: 89.58 kB / 0.6849 GB, free: 3.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1551, allocations: 51.41 kB / 0.6849 GB, free: 3.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.1552, allocations: 121.8 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1553, allocations: 29.7 kB / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1553, allocations: 100.8 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1553, allocations: 3.906 kB / 0.6852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1554, allocations: 13.72 kB / 0.6852 GB, free: 3.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1555, allocations: 322.8 kB / 0.6855 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.1555, allocations: 19.98 kB / 0.6855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.1556, allocations: 11.98 kB / 0.6855 GB, free: 3.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1558, allocations: 49.05 kB / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1558, allocations: 0 / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001898/0.156, allocations: 73.56 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.156, allocations: 9.719 kB / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.156, allocations: 0 / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.156, allocations: 0 / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.1561, allocations: 15.92 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1561, allocations: 4 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1562, allocations: 8 kB / 0.6857 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1562, allocations: 0 / 0.6857 GB, free: 3.09 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 7.09e-05/0.1563, allocations: 121.8 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1563, allocations: 0 / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1563, allocations: 7.906 kB / 0.6858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1563, allocations: 0 / 0.6858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1563, allocations: 3.938 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1564, allocations: 0 / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1565, allocations: 189.4 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1565, allocations: 0 / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.1566, allocations: 8 kB / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1566, allocations: 0 / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1566, allocations: 3.984 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1566, allocations: 4 kB / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1566, allocations: 0 / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1569, allocations: 163.5 kB / 0.6861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1569, allocations: 89 kB / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1569, allocations: 0 / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.157, allocations: 4 kB / 0.6862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1571, allocations: 4 kB / 0.6862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1571, allocations: 0 / 0.6862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.1571, allocations: 95.27 kB / 0.6863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1571, allocations: 3.938 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1573, allocations: 7.938 kB / 0.6863 GB, free: 2.301 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 7.971e-05/0.1574, allocations: 107.2 kB / 0.6864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1576, allocations: 39.97 kB / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1577, allocations: 0 / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.1577, allocations: 19.98 kB / 0.6865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.158, allocations: 4 kB / 0.6865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1584, allocations: 146.8 kB / 0.6866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1586, allocations: 0.6846 MB / 0.6873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1586, allocations: 3.938 kB / 0.6873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1587, allocations: 11.44 kB / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1587, allocations: 0 / 0.6873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Templates: time 0.002356/0.161, allocations: 491.3 kB / 0.6878 GB, free: 0.7539 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)