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.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001281/0.001281, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.00092/0.00092, allocations: 86.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.78e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 106.3 MB / 0.8918 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8148/1.064, allocations: 132.4 MB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.064, allocations: 79.33 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004133/1.068, allocations: 1.433 MB / 1.023 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.068, allocations: 0 / 1.023 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.068, allocations: 0 / 1.023 GB, free: 1.051 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.0004072/1.069, allocations: 352.3 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.069, allocations: 11.97 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/1.069, allocations: 7.906 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.069, allocations: 175 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.069, allocations: 3.125 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.069, allocations: 4 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.069, allocations: 55.61 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.069, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.069, allocations: 3.938 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.069, allocations: 0 / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/1.069, allocations: 30.38 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/1.07, allocations: 303 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/1.07, allocations: 54.36 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/1.07, allocations: 15.98 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/1.07, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.07, allocations: 30.56 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 3.092e-05/1.07, allocations: 0 / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/1.07, allocations: 60.81 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.07, allocations: 55.41 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/1.071, allocations: 116 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.071, allocations: 29.64 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.071, allocations: 87.77 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.071, allocations: 10.84 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.071, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.071, allocations: 321.6 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/1.071, allocations: 7.562 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/1.071, allocations: 4 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/1.071, allocations: 7.75 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.071, allocations: 4 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.759e-05/1.071, allocations: 57.34 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.071, allocations: 5.719 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.071, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.071, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/1.071, allocations: 15.92 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.071, allocations: 7.891 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/1.071, allocations: 7.984 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.071, allocations: 7.938 kB / 1.024 GB, free: 15.12 MB / 0.6511 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 9.17e-05/1.071, allocations: 105 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/1.071, allocations: 3.906 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/1.071, allocations: 11.47 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.071, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.071, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.071, allocations: 3.953 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/1.072, allocations: 175.8 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.072, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/1.072, allocations: 12 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.072, allocations: 3.984 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/1.072, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.072, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.072, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/1.072, allocations: 150.3 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/1.072, allocations: 85.05 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/1.072, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/1.072, allocations: 15.11 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/1.072, allocations: 4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/1.072, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.412e-05/1.072, allocations: 97.61 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.072, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001952/1.072, allocations: 7.75 kB / 1.025 GB, free: 14.4 MB / 0.6511 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 0.0001587/1.073, allocations: 95.25 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001067/1.073, allocations: 15.62 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.073, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/1.073, allocations: 22.73 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/1.073, allocations: 7.953 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/1.073, allocations: 77.61 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/1.074, allocations: 0.6887 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.93e-05/1.074, allocations: 0.625 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/1.074, allocations: 15.44 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of SimCode: time 4.3e-07/1.074, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.002738/1.077, allocations: 428.6 kB / 1.026 GB, free: 13.03 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