Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 185.7 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008396/0.0008391, allocations: 91.12 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004795, allocations: 9.906 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.3807, allocations: 132.4 MB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.381, allocations: 71.97 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004037/0.385, allocations: 1.442 MB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3851, allocations: 4 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3851, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 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.0003956/0.3855, allocations: 359.2 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3855, allocations: 8.031 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.3856, allocations: 4 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3857, allocations: 174.8 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3857, allocations: 4 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3858, allocations: 12 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.386, allocations: 65.66 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.386, allocations: 3.938 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.386, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.386, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3862, allocations: 51.97 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3867, allocations: 308.7 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3871, allocations: 70.55 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3871, allocations: 0 / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3871, allocations: 34.62 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.3871, allocations: 3.984 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003744/0.3875, allocations: 105.7 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3876, allocations: 55.36 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.3877, allocations: 120.9 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3877, allocations: 29.7 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3877, allocations: 91.98 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3878, allocations: 11.89 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.3878, allocations: 0 / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3879, allocations: 314.8 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.388, allocations: 20.66 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.3881, allocations: 23.98 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.3882, allocations: 19.98 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3882, allocations: 0 / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002294/0.3884, allocations: 81.52 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3885, allocations: 8 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3885, allocations: 4 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3885, allocations: 7.922 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.3886, allocations: 8 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3886, allocations: 0 / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.3887, allocations: 11.94 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3887, allocations: 4 kB / 1.033 GB, free: 7.605 MB / 0.6823 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.583e-05/0.3888, allocations: 113.8 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3888, allocations: 4 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.3888, allocations: 7.906 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3888, allocations: 3.938 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3889, allocations: 0 / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3889, allocations: 7.984 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.389, allocations: 169.6 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3891, allocations: 0 / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.3891, allocations: 11.98 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3891, allocations: 0 / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3892, allocations: 11.94 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3892, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3892, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3894, allocations: 175.4 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3895, allocations: 89.02 kB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3895, allocations: 0 / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.3896, allocations: 8 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3896, allocations: 7.984 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3896, allocations: 4 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.3897, allocations: 91.27 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3897, allocations: 0 / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002041/0.3899, allocations: 8 kB / 1.034 GB, free: 6.812 MB / 0.6823 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.0001125/0.39, allocations: 100.9 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3903, allocations: 51.91 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3903, allocations: 0 / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.3904, allocations: 28.45 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.3906, allocations: 7.953 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.391, allocations: 164.5 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3912, allocations: 0.6926 MB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.3913, allocations: 4.078 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3913, allocations: 11.44 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.3913, allocations: 3.938 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of Templates: time 0.002308/0.3936, allocations: 407.6 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches