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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8318/0.8318, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 180.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 447.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009692, allocations: 107.2 kB / 0.517 GB, free: 3.68 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 288.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 72.27 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002433/0.3403, allocations: 1.588 MB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.3409, allocations: 443 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.341, allocations: 0 / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.341, allocations: 3.938 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.3411, allocations: 4 kB / 0.7699 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.3413, allocations: 19.92 kB / 0.7699 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.3413, allocations: 43.84 kB / 0.7699 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3415, allocations: 19.98 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.3416, allocations: 19.92 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.3416, allocations: 23.86 kB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3416, allocations: 0 / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.3416, allocations: 4 kB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3417, allocations: 7.984 kB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3417, allocations: 19.86 kB / 0.77 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.3418, allocations: 46.5 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3418, allocations: 0 / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3418, allocations: 0 / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.3418, allocations: 7.938 kB / 0.7701 GB, free: 25.42 MB / 458.7 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.0004496/0.3423, allocations: 359.3 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3423, allocations: 12.03 kB / 0.7704 GB, free: 25.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3423, allocations: 0.9375 kB / 0.7704 GB, free: 25.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.3424, allocations: 180.2 kB / 0.7706 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3425, allocations: 4.375 kB / 0.7706 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3425, allocations: 4.375 kB / 0.7706 GB, free: 24.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3427, allocations: 69.97 kB / 0.7707 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3427, allocations: 0 / 0.7707 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3427, allocations: 4 kB / 0.7707 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3427, allocations: 4 kB / 0.7707 GB, free: 24.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3429, allocations: 43.91 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.3432, allocations: 292.7 kB / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.3435, allocations: 62.48 kB / 0.7711 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.3436, allocations: 24.91 kB / 0.7711 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3437, allocations: 3.984 kB / 0.7711 GB, free: 24.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.3437, allocations: 30.56 kB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3437, allocations: 7.938 kB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003276/0.344, allocations: 89.56 kB / 0.7712 GB, free: 24.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.344, allocations: 51.41 kB / 0.7713 GB, free: 24.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.3441, allocations: 121.8 kB / 0.7714 GB, free: 23.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.3441, allocations: 25.7 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3442, allocations: 92.14 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3442, allocations: 7.844 kB / 0.7715 GB, free: 23.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.3442, allocations: 25.64 kB / 0.7715 GB, free: 23.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.3443, allocations: 318.8 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.3444, allocations: 15.98 kB / 0.7719 GB, free: 23.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.3444, allocations: 19.98 kB / 0.7719 GB, free: 23.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3446, allocations: 36.83 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3446, allocations: 0 / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001807/0.3448, allocations: 73.58 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3448, allocations: 4 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3448, allocations: 3.938 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3448, allocations: 4 kB / 0.772 GB, free: 23.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.3449, allocations: 11.92 kB / 0.772 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3449, allocations: 0 / 0.772 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.345, allocations: 7.984 kB / 0.772 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.345, allocations: 4 kB / 0.772 GB, free: 23.22 MB / 458.7 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 4.809e-05/0.345, allocations: 118.3 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.3451, allocations: 7.906 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3451, allocations: 7.906 kB / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3451, allocations: 336 / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3451, allocations: 4 kB / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3451, allocations: 0 / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3453, allocations: 177.6 kB / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3453, allocations: 3.984 kB / 0.7723 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.3453, allocations: 11.98 kB / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3454, allocations: 4 kB / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3454, allocations: 0 / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3454, allocations: 0 / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3454, allocations: 0 / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.3458, allocations: 0.7317 MB / 0.7731 GB, free: 22.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.3458, allocations: 89.09 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3458, allocations: 3.938 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.3459, allocations: 4 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3459, allocations: 4 kB / 0.7731 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.346, allocations: 3.984 kB / 0.7732 GB, free: 21.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.346, allocations: 99.27 kB / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.346, allocations: 0 / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.3463, allocations: 11.84 kB / 0.7733 GB, free: 21.81 MB / 458.7 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 6.599e-05/0.3464, allocations: 104.6 kB / 0.7734 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3466, allocations: 39.97 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3466, allocations: 0 / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.235e-05/0.3467, allocations: 15.98 kB / 0.7734 GB, free: 21.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.347, allocations: 8 kB / 0.7734 GB, free: 21.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.3473, allocations: 274.9 kB / 0.7737 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3474, allocations: 0.6809 MB / 0.7743 GB, free: 20.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3474, allocations: 4 kB / 0.7744 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.3475, allocations: 11.42 kB / 0.7744 GB, free: 20.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3475, allocations: 0 / 0.7744 GB, free: 20.6 MB / 458.7 MB Notification: Performance of Templates: time 0.00206/0.3495, allocations: 447.4 kB / 0.7748 GB, free: 20.17 MB / 458.7 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)