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.001455/0.001455, allocations: 103.9 kB / 16.27 MB, free: 6.414 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.001375/0.001375, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 293.6 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8804/0.8804, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 94.39 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 86.98 MB / 0.6808 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002468/0.1533, allocations: 1.523 MB / 0.6823 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.154, allocations: 435 kB / 0.6827 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.154, allocations: 4 kB / 0.6827 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.1541, allocations: 3.938 kB / 0.6827 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.1541, allocations: 11.86 kB / 0.6827 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1543, allocations: 23.92 kB / 0.6828 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.1544, allocations: 47.84 kB / 0.6828 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1545, allocations: 15.98 kB / 0.6828 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.1546, allocations: 27.91 kB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.1547, allocations: 19.91 kB / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1547, allocations: 4 kB / 0.6829 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.1547, allocations: 4 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.1547, allocations: 11.94 kB / 0.6829 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.1548, allocations: 23.86 kB / 0.6829 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.1549, allocations: 48.09 kB / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1549, allocations: 0 / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1549, allocations: 0 / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1549, allocations: 0 / 0.683 GB, free: 5.957 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.0004701/0.1554, allocations: 355.3 kB / 0.6833 GB, free: 5.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1554, allocations: 12.03 kB / 0.6833 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1554, allocations: 8.844 kB / 0.6833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1556, allocations: 172.3 kB / 0.6835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1556, allocations: 4.375 kB / 0.6835 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1556, allocations: 4.312 kB / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1558, allocations: 69.98 kB / 0.6836 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1558, allocations: 0 / 0.6836 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1558, allocations: 0 / 0.6836 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1558, allocations: 3.938 kB / 0.6836 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.156, allocations: 47.91 kB / 0.6836 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1564, allocations: 300.6 kB / 0.6839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1568, allocations: 58.55 kB / 0.684 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.1569, allocations: 32.84 kB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1569, allocations: 0 / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1569, allocations: 34.56 kB / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1569, allocations: 0 / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003681/0.1573, allocations: 85.78 kB / 0.6841 GB, free: 4.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1573, allocations: 51.41 kB / 0.6841 GB, free: 4.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.1574, allocations: 121.8 kB / 0.6843 GB, free: 4.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1574, allocations: 25.7 kB / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1575, allocations: 96.03 kB / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1575, allocations: 8.672 kB / 0.6844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1576, allocations: 13.72 kB / 0.6844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1577, allocations: 322.8 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1578, allocations: 19.92 kB / 0.6847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.1578, allocations: 24.02 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.158, allocations: 36.84 kB / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.158, allocations: 0 / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002002/0.1582, allocations: 73.56 kB / 0.6849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1582, allocations: 8 kB / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1582, allocations: 0 / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1583, allocations: 0 / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.1583, allocations: 15.98 kB / 0.6849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1584, allocations: 0 / 0.6849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1584, allocations: 4 kB / 0.6849 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1584, allocations: 3.938 kB / 0.6849 GB, free: 3.762 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.326e-05/0.1585, allocations: 109.8 kB / 0.685 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1585, allocations: 7.984 kB / 0.685 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1586, allocations: 7.906 kB / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1586, allocations: 4 kB / 0.685 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1586, allocations: 3.938 kB / 0.685 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1586, allocations: 4 kB / 0.685 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1588, allocations: 181.4 kB / 0.6852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1588, allocations: 0 / 0.6852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.1588, allocations: 11.98 kB / 0.6852 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1589, allocations: 0 / 0.6852 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1589, allocations: 3.938 kB / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1589, allocations: 0 / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1589, allocations: 4 kB / 0.6852 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1591, allocations: 171.5 kB / 0.6854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.1592, allocations: 84.95 kB / 0.6855 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1592, allocations: 4 kB / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.1593, allocations: 3.984 kB / 0.6855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1593, allocations: 4 kB / 0.6855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1593, allocations: 0 / 0.6855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.1594, allocations: 99.7 kB / 0.6856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1594, allocations: 0 / 0.6856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.1596, allocations: 11.94 kB / 0.6856 GB, free: 2.961 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 8.046e-05/0.1597, allocations: 95.25 kB / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1599, allocations: 43.95 kB / 0.6857 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1599, allocations: 0 / 0.6857 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.16, allocations: 23.92 kB / 0.6857 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1603, allocations: 8.328 kB / 0.6857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1607, allocations: 167.4 kB / 0.6859 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1609, allocations: 0.6807 MB / 0.6866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1609, allocations: 11.42 kB / 0.6866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1609, allocations: 0 / 0.6866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Templates: time 0.001814/0.1628, allocations: 0.7214 MB / 0.6873 GB, free: 1.152 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)