Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008001/0.0008002, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004514/0.004514, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004612, allocations: 14.66 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00147/0.1813, allocations: 1.247 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005947/0.1819, allocations: 464.9 kB / 0.7895 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1819, allocations: 3.938 kB / 0.7895 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.182, allocations: 3.984 kB / 0.7895 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.182, allocations: 11.94 kB / 0.7895 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1822, allocations: 19.97 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.1823, allocations: 39.86 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.1823, allocations: 15.98 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.1824, allocations: 15.94 kB / 0.7896 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.1825, allocations: 23.84 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1825, allocations: 8 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.1825, allocations: 0 / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1825, allocations: 3.984 kB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1826, allocations: 41.58 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.718e-05/0.1826, allocations: 48.08 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1827, allocations: 0 / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1827, allocations: 0 / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1827, allocations: 0 / 0.7898 GB, free: 9.621 MB / 0.6075 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.0004209/0.1831, allocations: 359.4 kB / 0.7901 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1831, allocations: 12.03 kB / 0.7901 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.1832, allocations: 8.844 kB / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1833, allocations: 176.2 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1833, allocations: 4.375 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1833, allocations: 4.375 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1835, allocations: 73.97 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1835, allocations: 4 kB / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1835, allocations: 0 / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1836, allocations: 0 / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1837, allocations: 47.97 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1841, allocations: 308.6 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.1845, allocations: 66.55 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.1846, allocations: 32.91 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1846, allocations: 4.062 kB / 0.7908 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1846, allocations: 30.56 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1846, allocations: 0 / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003516/0.185, allocations: 105.8 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.185, allocations: 51.41 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.1851, allocations: 121.8 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1851, allocations: 29.7 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1852, allocations: 92.03 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1852, allocations: 7.906 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.1852, allocations: 17.72 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1854, allocations: 318.8 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.1854, allocations: 15.98 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1855, allocations: 27.97 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1857, allocations: 56.7 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1857, allocations: 4 kB / 0.7916 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.1859, allocations: 81.56 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.186, allocations: 4 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.186, allocations: 4 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.186, allocations: 0 / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.1861, allocations: 8 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1861, allocations: 4 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.1861, allocations: 7.984 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1862, allocations: 0 / 0.7917 GB, free: 7.352 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.1862, allocations: 113.8 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1863, allocations: 4 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.1863, allocations: 15.89 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1863, allocations: 0 / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1863, allocations: 0 / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1863, allocations: 3.938 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1865, allocations: 185.4 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1865, allocations: 0 / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1866, allocations: 11.98 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1866, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1866, allocations: 0 / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1866, allocations: 4 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1866, allocations: 0 / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1869, allocations: 179.5 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.1869, allocations: 84.95 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1869, allocations: 4 kB / 0.7923 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.187, allocations: 11.98 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.187, allocations: 0 / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.187, allocations: 0 / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.1871, allocations: 99.27 kB / 0.7924 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1871, allocations: 0 / 0.7924 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002076/0.1873, allocations: 7.938 kB / 0.7924 GB, free: 6.539 MB / 0.6075 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 8.003e-05/0.1874, allocations: 99.19 kB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1876, allocations: 55.91 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1876, allocations: 0 / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.1877, allocations: 23.97 kB / 0.7926 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.188, allocations: 8 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1883, allocations: 168.5 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1885, allocations: 0.6848 MB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.1886, allocations: 4.375 kB / 0.7935 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1886, allocations: 15.42 kB / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1886, allocations: 0 / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.00195/0.1906, allocations: 419.4 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) Environment - environmentSimulation: