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.0009485/0.0009485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008645/0.0008645, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.086/1.086, allocations: 205.1 MB / 222.4 MB, free: 4.414 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.462/1.462, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001308/0.001308, allocations: 65.14 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 114.6 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00231/0.1609, allocations: 1.517 MB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005675/0.1615, allocations: 484.7 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1615, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.1616, allocations: 11.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.1616, allocations: 11.94 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.1618, allocations: 19.92 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.1619, allocations: 43.91 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.1619, allocations: 19.98 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.162, allocations: 19.92 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.1621, allocations: 23.86 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1621, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.1621, allocations: 4 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.1621, allocations: 11.97 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.1622, allocations: 23.81 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.332e-05/0.1622, allocations: 36.11 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1622, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1622, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1623, allocations: 4 kB / 0.7855 GB, free: 11.25 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.0004111/0.1627, allocations: 367.2 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.1627, allocations: 12.03 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1627, allocations: 4.938 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.1628, allocations: 172.3 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1628, allocations: 4.312 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1629, allocations: 8.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.163, allocations: 65.97 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.163, allocations: 3.984 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1631, allocations: 0 / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1631, allocations: 4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1632, allocations: 43.91 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1636, allocations: 296.7 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1639, allocations: 70.47 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.164, allocations: 24.91 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.164, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.164, allocations: 30.56 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.164, allocations: 0 / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003099/0.1643, allocations: 89.56 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1644, allocations: 55.41 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.1644, allocations: 125.8 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1645, allocations: 25.7 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1645, allocations: 84.14 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1645, allocations: 15.84 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1645, allocations: 13.7 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.1646, allocations: 322.8 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.1647, allocations: 19.98 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.1648, allocations: 19.92 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.165, allocations: 40.83 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.165, allocations: 0 / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001885/0.1652, allocations: 69.58 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1652, allocations: 7.984 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1652, allocations: 0 / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.1652, allocations: 4 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.1653, allocations: 11.94 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1653, allocations: 0 / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1653, allocations: 7.984 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1653, allocations: 0 / 0.7875 GB, free: 9.051 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 5.652e-05/0.1654, allocations: 117.8 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1654, allocations: 7.906 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1655, allocations: 3.906 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1655, allocations: 7.984 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1655, allocations: 0 / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1655, allocations: 0 / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1656, allocations: 185.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1656, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.1657, allocations: 11.98 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1657, allocations: 4.266 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1657, allocations: 0 / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1657, allocations: 3.984 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1657, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.166, allocations: 179.4 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.166, allocations: 84.95 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.166, allocations: 0 / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1661, allocations: 7.984 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.1661, allocations: 0 / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1661, allocations: 8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.1662, allocations: 91.27 kB / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1662, allocations: 4 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001971/0.1664, allocations: 11.94 kB / 0.7882 GB, free: 8.234 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 6.513e-05/0.1665, allocations: 99.19 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1667, allocations: 35.97 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1667, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.1668, allocations: 31.91 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.167, allocations: 4 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.1673, allocations: 154.5 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1674, allocations: 0.6807 MB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.1675, allocations: 8 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.1675, allocations: 7.438 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1675, allocations: 0 / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.001792/0.1693, allocations: 474 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (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)