Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 106 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 192 kB / 17.34 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6808, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00252/0.6834, allocations: 1.53 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006738/0.6841, allocations: 450.9 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.6841, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.6842, allocations: 3.938 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.6842, allocations: 7.938 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.6844, allocations: 23.92 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.6845, allocations: 47.78 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.6846, allocations: 23.97 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.6847, allocations: 19.94 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.6847, allocations: 19.91 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.6848, allocations: 4 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.6848, allocations: 8 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.6848, allocations: 11.94 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.6848, allocations: 27.84 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.6849, allocations: 35.41 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.685, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.685, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.685, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 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.000514/0.6855, allocations: 364.3 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6855, allocations: 12.92 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.6856, allocations: 12.88 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6857, allocations: 172.3 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6857, allocations: 4.312 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.6857, allocations: 8.375 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6859, allocations: 69.91 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.686, allocations: 0 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.686, allocations: 0 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.686, allocations: 0 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.6862, allocations: 47.95 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.6866, allocations: 304.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.6869, allocations: 58.55 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.687, allocations: 24.91 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.687, allocations: 4 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.6871, allocations: 34.5 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.6871, allocations: 0 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003405/0.6874, allocations: 85.64 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.6875, allocations: 51.41 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.6876, allocations: 121.8 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.6876, allocations: 29.7 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.6876, allocations: 92.08 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.6877, allocations: 7.953 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.6877, allocations: 13.72 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6879, allocations: 326.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.6879, allocations: 15.98 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.688, allocations: 15.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.6882, allocations: 44.77 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6882, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002014/0.6884, allocations: 73.62 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.6884, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.6884, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6884, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.6885, allocations: 15.98 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6885, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.6886, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.6886, allocations: 3.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/0.6887, allocations: 121.8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.6887, allocations: 8.219 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.6887, allocations: 7.906 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6888, allocations: 3.984 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6888, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.6888, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.689, allocations: 181.6 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.689, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.689, allocations: 4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.689, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6891, allocations: 7.984 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6891, allocations: 3.938 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6891, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.6893, allocations: 167.4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.6894, allocations: 85.09 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.6894, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.6895, allocations: 4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.6895, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.6895, allocations: 11.92 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.6896, allocations: 99.66 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6896, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002068/0.6898, allocations: 15.88 kB / 1.172 GB, free: 14.68 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.377e-05/0.6899, allocations: 99.23 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.6901, allocations: 39.97 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6901, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.6902, allocations: 19.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.6905, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.6908, allocations: 154.5 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6911, allocations: 0.6846 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.6911, allocations: 4 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.6912, allocations: 7.438 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of SimCode: time 1.913e-06/0.6912, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.002496/0.6937, allocations: 484.2 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches