Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 176.9 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008467, allocations: 95.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.56e-05, allocations: 1.875 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2517, allocations: 142.3 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.781/1.033, allocations: 149.2 MB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.033, allocations: 74.58 kB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004421/1.037, allocations: 1.467 MB / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.037, allocations: 0 / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.037, allocations: 3.969 kB / 1.353 GB, free: 34.11 MB / 0.8386 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.0003287/1.038, allocations: 350.7 kB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.038, allocations: 8.25 kB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/1.038, allocations: 5.234 kB / 1.354 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/1.038, allocations: 181 kB / 1.354 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.038, allocations: 0 / 1.354 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.038, allocations: 3.844 kB / 1.354 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.718e-05/1.038, allocations: 21.59 kB / 1.354 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/1.038, allocations: 52.77 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.038, allocations: 0 / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.038, allocations: 4.5 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.038, allocations: 3.812 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/1.039, allocations: 271.8 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/1.039, allocations: 44.14 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/1.039, allocations: 21.11 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/1.039, allocations: 3.938 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/1.039, allocations: 38.98 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.039, allocations: 0 / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001424/1.039, allocations: 48.42 kB / 1.354 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/1.039, allocations: 55.97 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/1.039, allocations: 102.1 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/1.039, allocations: 25.7 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/1.039, allocations: 92.64 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.039, allocations: 13.2 kB / 1.354 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.039, allocations: 4 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/1.039, allocations: 312.2 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/1.039, allocations: 8.5 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/1.039, allocations: 11.5 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/1.039, allocations: 13.22 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.039, allocations: 0 / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.379e-05/1.04, allocations: 43.48 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.04, allocations: 4.609 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.04, allocations: 0 / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.04, allocations: 7.969 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/1.04, allocations: 10.86 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.04, allocations: 0 / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/1.04, allocations: 9.984 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.04, allocations: 5.125 kB / 1.355 GB, free: 32.51 MB / 0.8386 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.8e-05/1.04, allocations: 104.8 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/1.04, allocations: 3.906 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/1.04, allocations: 13.02 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.04, allocations: 0 / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.04, allocations: 1.172 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.04, allocations: 0 / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.04, allocations: 155.7 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.04, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/1.04, allocations: 22.28 kB / 1.355 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.04, allocations: 0 / 1.355 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.04, allocations: 0.5156 kB / 1.355 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.04, allocations: 5.562 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.04, allocations: 4.703 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/1.04, allocations: 146.2 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/1.04, allocations: 81.58 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.04, allocations: 0.6562 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/1.04, allocations: 9.141 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/1.04, allocations: 1.219 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.04, allocations: 4.656 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.164e-05/1.041, allocations: 91.67 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 0 / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001926/1.041, allocations: 7.562 kB / 1.355 GB, free: 31.9 MB / 0.8386 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.434e-05/1.041, allocations: 95.11 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/1.041, allocations: 25 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.041, allocations: 0 / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/1.041, allocations: 7.984 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/1.041, allocations: 19.06 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/1.041, allocations: 79.16 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.042, allocations: 0.6877 MB / 1.356 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.195e-05/1.042, allocations: 4.641 kB / 1.356 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/1.042, allocations: 8 kB / 1.356 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.042, allocations: 3.906 kB / 1.356 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.001918/1.044, allocations: 359.9 kB / 1.357 GB, free: 30.97 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches