Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 287.5 MB / 302.6 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 192.9 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008862, allocations: 89.48 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 14.91 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002074/0.2821, allocations: 1.228 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.2829, allocations: 448.2 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.283, allocations: 0 / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.283, allocations: 3.938 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.2831, allocations: 7.922 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.2833, allocations: 19.98 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.2834, allocations: 39.84 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2835, allocations: 20 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2837, allocations: 19.91 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.2837, allocations: 15.92 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2837, allocations: 3.938 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.2838, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2838, allocations: 7.984 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.2838, allocations: 29.7 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.964e-05/0.2839, allocations: 24.23 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2839, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2839, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2839, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB 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.0005232/0.2845, allocations: 363.3 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2845, allocations: 12.03 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.2845, allocations: 8.844 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2847, allocations: 176.2 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2847, allocations: 4.375 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.2847, allocations: 384 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.285, allocations: 81.98 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.285, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.285, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.285, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.2852, allocations: 51.91 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.2856, allocations: 300.7 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.2859, allocations: 74.53 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.286, allocations: 28.84 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2861, allocations: 0 / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2861, allocations: 34.56 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.2861, allocations: 3.984 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003525/0.2865, allocations: 105.6 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.2865, allocations: 51.41 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.2866, allocations: 117.8 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2866, allocations: 25.7 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2866, allocations: 96.05 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.2867, allocations: 7.969 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2867, allocations: 4 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.2867, allocations: 318.8 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.2868, allocations: 23.92 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.2869, allocations: 23.98 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.2871, allocations: 44.83 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2871, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001862/0.2873, allocations: 81.58 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2873, allocations: 5.719 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2873, allocations: 0 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2873, allocations: 7.984 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.2874, allocations: 8 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2874, allocations: 0 / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.2875, allocations: 7.984 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2875, allocations: 3.938 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.2876, allocations: 121.8 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.2876, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.2877, allocations: 7.906 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2877, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.2877, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2877, allocations: 3.984 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2879, allocations: 181.5 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2879, allocations: 3.938 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.2879, allocations: 15.98 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2879, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.288, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.288, allocations: 7.984 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.288, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2882, allocations: 179.4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2883, allocations: 88.89 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2883, allocations: 8 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.2884, allocations: 4 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2885, allocations: 3.984 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2885, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.2885, allocations: 95.7 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2885, allocations: 0 / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001949/0.2887, allocations: 11.94 kB / 0.9832 GB, free: 23.25 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.2889, allocations: 99.25 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.2892, allocations: 44.34 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2892, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.2893, allocations: 31.92 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2896, allocations: 7.984 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.29, allocations: 158 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2902, allocations: 0.6848 MB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.2903, allocations: 7.984 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2903, allocations: 7.438 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2903, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.002692/0.293, allocations: 420.8 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)