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.001379/0.001379, allocations: 115 kB / 16.37 MB, free: 5.539 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.001579/0.001579, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 271.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8993/0.8993, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 90.3 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002452/0.1543, allocations: 1.522 MB / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.1549, allocations: 435 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.155, allocations: 3.938 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.155, allocations: 3.938 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.155, allocations: 15.8 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1552, allocations: 23.97 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.1553, allocations: 43.86 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1554, allocations: 23.97 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.1555, allocations: 23.91 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.1556, allocations: 23.86 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1556, allocations: 4 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-06/0.1556, allocations: 4 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.1556, allocations: 11.98 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1556, allocations: 15.88 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.1557, allocations: 47.75 kB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1557, allocations: 0 / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1558, allocations: 0 / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1558, allocations: 4 kB / 0.6837 GB, free: 5.246 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.000442/0.1562, allocations: 363.3 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1562, allocations: 8.031 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.1563, allocations: 12.84 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1564, allocations: 168.3 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1564, allocations: 384 / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1564, allocations: 4.375 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1566, allocations: 69.97 kB / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1566, allocations: 0 / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1566, allocations: 4 kB / 0.6843 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1567, allocations: 0 / 0.6843 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.1569, allocations: 43.91 kB / 0.6844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1573, allocations: 296.7 kB / 0.6847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1576, allocations: 70.53 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.1577, allocations: 20.84 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1577, allocations: 8 kB / 0.6848 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1577, allocations: 30.56 kB / 0.6848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1578, allocations: 0 / 0.6848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003252/0.1581, allocations: 81.84 kB / 0.6849 GB, free: 3.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1581, allocations: 51.41 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.1582, allocations: 125.8 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1582, allocations: 29.7 kB / 0.6851 GB, free: 3.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.1583, allocations: 96.75 kB / 0.6852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1583, allocations: 7.844 kB / 0.6852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1584, allocations: 25.7 kB / 0.6852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1585, allocations: 318.8 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.1586, allocations: 19.92 kB / 0.6855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1586, allocations: 19.97 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1588, allocations: 36.83 kB / 0.6856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1588, allocations: 0 / 0.6856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001863/0.159, allocations: 77.58 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.159, allocations: 6.031 kB / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.159, allocations: 0 / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.159, allocations: 3.984 kB / 0.6856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.1591, allocations: 8 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1591, allocations: 0 / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.1592, allocations: 7.984 kB / 0.6857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1592, allocations: 3.938 kB / 0.6857 GB, free: 3.047 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.435e-05/0.1593, allocations: 121.8 kB / 0.6858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1593, allocations: 0 / 0.6858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.1593, allocations: 11.91 kB / 0.6858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1593, allocations: 0 / 0.6858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1593, allocations: 0 / 0.6858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1593, allocations: 3.984 kB / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1595, allocations: 185.4 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1595, allocations: 0 / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1596, allocations: 7.984 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1596, allocations: 0 / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1596, allocations: 8 kB / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1596, allocations: 0 / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1596, allocations: 0 / 0.686 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1599, allocations: 163.5 kB / 0.6861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.1599, allocations: 92.95 kB / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1599, allocations: 0 / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.16, allocations: 4 kB / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1601, allocations: 7.984 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1601, allocations: 0 / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.1601, allocations: 99.2 kB / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.6863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1604, allocations: 11.94 kB / 0.6864 GB, free: 2.246 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.641e-05/0.1604, allocations: 98.06 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1606, allocations: 35.97 kB / 0.6865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1606, allocations: 4 kB / 0.6865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.1607, allocations: 23.92 kB / 0.6865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.161, allocations: 15.92 kB / 0.6865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.1613, allocations: 134.8 kB / 0.6866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1616, allocations: 0.6849 MB / 0.6873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.1616, allocations: 11.98 kB / 0.6873 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.1617, allocations: 7.438 kB / 0.6873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1617, allocations: 0 / 0.6873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of Templates: time 0.002238/0.1639, allocations: 478.7 kB / 0.6878 GB, free: 0.7148 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)