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.001792/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00212/0.00212, allocations: 195.6 kB / 16.14 MB, free: 6.641 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 270.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 98.88 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1632, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002879/0.1661, allocations: 1.589 MB / 0.6943 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.1669, allocations: 427.6 kB / 0.6947 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1669, allocations: 4 kB / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.167, allocations: 7.922 kB / 0.6948 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.1671, allocations: 11.92 kB / 0.6948 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1672, allocations: 19.98 kB / 0.6948 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.1673, allocations: 43.8 kB / 0.6948 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1674, allocations: 15.98 kB / 0.6948 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.1675, allocations: 23.92 kB / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.1676, allocations: 19.91 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1677, allocations: 4 kB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1677, allocations: 4 kB / 0.6949 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.1677, allocations: 7.938 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1678, allocations: 19.86 kB / 0.6949 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.442e-05/0.1679, allocations: 40.16 kB / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1679, allocations: 4 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1679, allocations: 0 / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1679, allocations: 0 / 0.695 GB, free: 2.629 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.0005886/0.1685, allocations: 363.3 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1685, allocations: 8.031 kB / 0.6953 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.1686, allocations: 12.83 kB / 0.6953 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1687, allocations: 168.3 kB / 0.6955 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1687, allocations: 4.375 kB / 0.6955 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1689, allocations: 4.375 kB / 0.6955 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1691, allocations: 65.92 kB / 0.6956 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1691, allocations: 4 kB / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1691, allocations: 0 / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1691, allocations: 4 kB / 0.6956 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1693, allocations: 39.97 kB / 0.6956 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1698, allocations: 304.6 kB / 0.6959 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1701, allocations: 62.55 kB / 0.696 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.1702, allocations: 24.91 kB / 0.696 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1703, allocations: 3.938 kB / 0.696 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1703, allocations: 30.56 kB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1703, allocations: 0 / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003975/0.1707, allocations: 105.5 kB / 0.6961 GB, free: 1.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1707, allocations: 51.41 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1709, allocations: 117.8 kB / 0.6963 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1709, allocations: 25.7 kB / 0.6963 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1709, allocations: 92.12 kB / 0.6964 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.171, allocations: 7.906 kB / 0.6964 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.171, allocations: 13.72 kB / 0.6964 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1712, allocations: 326.8 kB / 0.6967 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.1713, allocations: 15.98 kB / 0.6967 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.1714, allocations: 19.98 kB / 0.6968 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1715, allocations: 36.83 kB / 0.6968 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1715, allocations: 0 / 0.6968 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002167/0.1718, allocations: 77.52 kB / 0.6969 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1718, allocations: 4 kB / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1718, allocations: 0 / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1718, allocations: 0 / 0.6969 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.1719, allocations: 11.98 kB / 0.6969 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1719, allocations: 3.984 kB / 0.6969 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.172, allocations: 8 kB / 0.6969 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.172, allocations: 0 / 0.6969 GB, free: 440 kB / 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 0.0001004/0.1721, allocations: 121.8 kB / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1721, allocations: 15.84 kB / 0.697 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.1722, allocations: 7.906 kB / 0.697 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1722, allocations: 0 / 0.697 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1722, allocations: 0 / 0.697 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1722, allocations: 0 / 0.697 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1724, allocations: 177.6 kB / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.1724, allocations: 4 kB / 0.6972 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.1725, allocations: 8 kB / 0.6972 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1725, allocations: 3.938 kB / 0.6972 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1725, allocations: 3.984 kB / 0.6972 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1725, allocations: 4 kB / 0.6972 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1725, allocations: 0 / 0.6972 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.1728, allocations: 167.4 kB / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1729, allocations: 85.03 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1729, allocations: 0 / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.173, allocations: 8 kB / 0.6975 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.173, allocations: 4 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.173, allocations: 7.984 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.1731, allocations: 91.66 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002194/0.1733, allocations: 11.94 kB / 0.6976 GB, free: 15.62 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.1735, allocations: 99.23 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1737, allocations: 40.28 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1737, allocations: 4 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1738, allocations: 23.98 kB / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1741, allocations: 1.734 kB / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1745, allocations: 160.5 kB / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1749, allocations: 0.6887 MB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.175, allocations: 7.984 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.175, allocations: 11.38 kB / 0.6986 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.175, allocations: 0 / 0.6986 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002603/0.1776, allocations: 436.2 kB / 0.699 GB, free: 14.11 MB / 0.4981 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)