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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008434/0.0008434, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 173 kB / 16.92 MB, free: 6.652 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8.281 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5906, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001638/0.5922, allocations: 1.244 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006168/0.5929, allocations: 431.1 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.5929, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.5929, allocations: 3.984 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.593, allocations: 3.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.5932, allocations: 31.91 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.5933, allocations: 39.86 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.5934, allocations: 15.98 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.5935, allocations: 11.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.5935, allocations: 19.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.5935, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.5936, allocations: 8 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.5936, allocations: 11.92 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.5936, allocations: 41.58 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.619e-05/0.5937, allocations: 27.94 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5937, allocations: 3.984 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5937, allocations: 3.938 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5937, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.7794 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.0004601/0.5942, allocations: 361.3 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5942, allocations: 8.031 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.5943, allocations: 8.844 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5944, allocations: 164.3 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5944, allocations: 8.375 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5944, allocations: 384 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.5946, allocations: 73.97 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.5946, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5947, allocations: 4 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5947, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.5949, allocations: 55.91 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.5953, allocations: 292.7 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.5956, allocations: 70.53 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5957, allocations: 36.84 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.5958, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.5958, allocations: 34.56 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.5958, allocations: 3.938 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003668/0.5962, allocations: 97.56 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5962, allocations: 55.41 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.5963, allocations: 125.8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5963, allocations: 25.7 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.5964, allocations: 88.14 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5964, allocations: 15.91 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.5964, allocations: 9.719 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.5965, allocations: 326.8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.5966, allocations: 23.92 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.5967, allocations: 19.98 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5969, allocations: 52.83 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5969, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002134/0.5971, allocations: 77.91 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5971, allocations: 4 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5972, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.5972, allocations: 4 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.5973, allocations: 15.98 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5973, allocations: 3.938 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.5973, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.5973, allocations: 3.984 kB / 1.028 GB, free: 11.71 MB / 0.7794 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.517e-05/0.5974, allocations: 117.8 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.5975, allocations: 7.891 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.5975, allocations: 11.91 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5975, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5975, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5975, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5977, allocations: 181.6 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5977, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.5978, allocations: 11.98 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5978, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5978, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5978, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5978, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.5981, allocations: 179.3 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.5981, allocations: 81.09 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5981, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.5982, allocations: 16 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.5983, allocations: 7.922 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5983, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.5983, allocations: 99.7 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5983, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002127/0.5985, allocations: 11.88 kB / 1.028 GB, free: 10.9 MB / 0.7794 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.687e-05/0.5986, allocations: 99.23 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5989, allocations: 51.97 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5989, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.599, allocations: 27.92 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.5993, allocations: 5.531 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.5996, allocations: 194.2 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.5998, allocations: 0.6848 MB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.5999, allocations: 7.438 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5999, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.001765/0.6016, allocations: 0.707 MB / 1.03 GB, free: 9.066 MB / 0.7794 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 -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) "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time