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.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001377/0.001377, allocations: 173.1 kB / 498.1 MB, free: 5.715 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.684/1.684, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 92.34 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003958, allocations: 12.23 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4822, allocations: 149.9 MB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4824, allocations: 79.89 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004189/0.4866, allocations: 1.484 MB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4867, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4867, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 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.0004265/0.4871, allocations: 368.8 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4872, allocations: 8.031 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.4872, allocations: 7.906 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4873, allocations: 171 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.4874, allocations: 0 / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.4874, allocations: 8 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.4876, allocations: 69.64 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4876, allocations: 0 / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4876, allocations: 0 / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4876, allocations: 7.984 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.4878, allocations: 51.91 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.4884, allocations: 308.7 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.4887, allocations: 78.47 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.4887, allocations: 0 / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4888, allocations: 34.56 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4888, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0003893/0.4892, allocations: 101.7 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.4892, allocations: 55.41 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.4893, allocations: 117 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4893, allocations: 25.7 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.4894, allocations: 88.14 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4894, allocations: 11.75 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4894, allocations: 0 / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4896, allocations: 318.8 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.4897, allocations: 23.98 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.4897, allocations: 19.98 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.4899, allocations: 19.98 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4899, allocations: 0 / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002131/0.4901, allocations: 81.67 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4901, allocations: 7.938 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4901, allocations: 0 / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4901, allocations: 0 / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.4902, allocations: 11.98 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4902, allocations: 3.953 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.4903, allocations: 15.88 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4903, allocations: 0 / 1.373 GB, free: 8.328 MB / 0.8698 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.667e-05/0.4904, allocations: 125.8 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.4904, allocations: 3.906 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.4905, allocations: 11.91 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4905, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4905, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4905, allocations: 3.953 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.4907, allocations: 173.6 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4907, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.4908, allocations: 16 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4908, allocations: 0 / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4908, allocations: 3.984 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4908, allocations: 0 / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4908, allocations: 0 / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.4911, allocations: 175.4 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.4912, allocations: 85.09 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4912, allocations: 0 / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.4913, allocations: 7.938 kB / 1.373 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.4913, allocations: 8.375 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4913, allocations: 3.984 kB / 1.373 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.4914, allocations: 91.66 kB / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4914, allocations: 0 / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002022/0.4916, allocations: 8 kB / 1.373 GB, free: 7.527 MB / 0.8698 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.0001055/0.4917, allocations: 111.8 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.492, allocations: 47.95 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.492, allocations: 0 / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.4921, allocations: 27.98 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.4923, allocations: 11.88 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.4926, allocations: 160.6 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4929, allocations: 0.6887 MB / 1.374 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.4929, allocations: 4 kB / 1.374 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.493, allocations: 11.42 kB / 1.374 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.493, allocations: 0 / 1.374 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of Templates: time 0.002181/0.4952, allocations: 407.6 kB / 1.375 GB, free: 6.016 MB / 0.8698 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