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.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.9 kB / 316.3 MB, free: 3.238 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.755/1.755, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009326/0.0009327, allocations: 84.27 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.979e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9185/1.183, allocations: 132.6 MB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.184, allocations: 81.81 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004032/1.188, allocations: 1.424 MB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/1.188, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.188, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 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.0004106/1.188, allocations: 350.4 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/1.188, allocations: 8.031 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/1.188, allocations: 8.406 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.188, allocations: 174.9 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/1.188, allocations: 8.75 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/1.188, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.069e-05/1.188, allocations: 19.69 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/1.189, allocations: 55.05 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.189, allocations: 3.938 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.189, allocations: 0 / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.189, allocations: 4 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/1.189, allocations: 272.4 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/1.189, allocations: 50.12 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/1.189, allocations: 12.86 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/1.189, allocations: 3.938 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.189, allocations: 38.56 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.189, allocations: 0 / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001765/1.19, allocations: 49.41 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/1.19, allocations: 51.41 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/1.19, allocations: 104.7 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.19, allocations: 25.7 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/1.19, allocations: 91.92 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/1.19, allocations: 7.844 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/1.19, allocations: 4 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.19, allocations: 325.2 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/1.19, allocations: 7.75 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/1.19, allocations: 4 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/1.19, allocations: 7.625 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.19, allocations: 3.938 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.403e-05/1.19, allocations: 53.41 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.19, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.19, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.19, allocations: 4 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/1.19, allocations: 15.98 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/1.19, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/1.19, allocations: 11.94 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.19, allocations: 3.938 kB / 1.018 GB, free: 1.961 MB / 0.6355 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 () * 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 6.709e-05/1.19, allocations: 106.5 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/1.19, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/1.19, allocations: 8.344 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/1.191, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.191, allocations: 0.875 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.191, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.191, allocations: 157.8 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.191, allocations: 4.359 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/1.191, allocations: 8 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.191, allocations: 3.938 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.191, allocations: 8 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.191, allocations: 3.938 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.191, allocations: 3.984 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/1.191, allocations: 151.5 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/1.191, allocations: 85.02 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/1.191, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/1.191, allocations: 4 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.191, allocations: 11.73 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/1.191, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.984e-05/1.191, allocations: 87.16 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.191, allocations: 0 / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001937/1.191, allocations: 8 kB / 1.019 GB, free: 1.262 MB / 0.6355 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 () * 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 9.675e-05/1.192, allocations: 95.25 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.98e-05/1.192, allocations: 23.42 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.192, allocations: 0 / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/1.192, allocations: 11.94 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/1.192, allocations: 3.953 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/1.192, allocations: 87.55 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/1.192, allocations: 0.6845 MB / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.531e-05/1.192, allocations: 7.984 kB / 1.019 GB, free: 316 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/1.192, allocations: 7.438 kB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.192, allocations: 0 / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of Templates: time 0.002137/1.195, allocations: 362.3 kB / 1.02 GB, free: 15.96 MB / 0.6511 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