Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001664/0.001664, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001905/0.001906, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.387/1.387, 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 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 56.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7751, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002746/0.7779, allocations: 1.516 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.7787, allocations: 446.9 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.7788, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.7789, allocations: 3.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.779, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.7792, allocations: 27.91 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.7793, allocations: 47.84 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.7795, allocations: 15.98 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.7796, allocations: 23.86 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.7796, allocations: 27.91 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.7797, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.7797, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.7797, allocations: 11.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.7797, allocations: 23.88 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.7798, allocations: 31.89 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7799, allocations: 4 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7799, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.7799, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 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.0005128/0.7804, allocations: 363.2 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7804, allocations: 11.97 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.7805, allocations: 8.938 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.7806, allocations: 182 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.7806, allocations: 4.375 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.7807, allocations: 4.375 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.7809, allocations: 73.91 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7809, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7809, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7809, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.7811, allocations: 39.97 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.7816, allocations: 296.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.7819, allocations: 62.53 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.782, allocations: 24.91 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.782, allocations: 0 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.782, allocations: 34.56 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.782, allocations: 0 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000365/0.7824, allocations: 89.5 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.7825, allocations: 51.41 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.7826, allocations: 125.8 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.7826, allocations: 29.7 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.7826, allocations: 92.14 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.7827, allocations: 7.922 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.7827, allocations: 21.7 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.7828, allocations: 314.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.7829, allocations: 15.98 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.783, allocations: 20.17 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.7832, allocations: 48.91 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7832, allocations: 3.938 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002048/0.7834, allocations: 65.58 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7834, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7834, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.7834, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.7835, allocations: 7.984 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7835, allocations: 0 / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.7836, allocations: 15.98 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.7836, allocations: 4 kB / 1.212 GB, free: 9.23 MB / 0.9356 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.312e-05/0.7837, allocations: 109.8 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.7837, allocations: 11.84 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.7838, allocations: 11.84 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7838, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7838, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7838, allocations: 4 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.784, allocations: 177.6 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.784, allocations: 4 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.7841, allocations: 15.92 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7841, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.7841, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7841, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7841, allocations: 4 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.7844, allocations: 171.5 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.7844, allocations: 85.02 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.7844, allocations: 0 / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.7845, allocations: 4 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.7845, allocations: 3.984 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7846, allocations: 4 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.7846, allocations: 91.27 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7846, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002212/0.7848, allocations: 15.94 kB / 1.213 GB, free: 8.426 MB / 0.9356 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.443e-05/0.7849, allocations: 103.2 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7852, allocations: 31.97 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7852, allocations: 0 / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.7853, allocations: 23.98 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.7856, allocations: 4 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.786, allocations: 180.2 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.7862, allocations: 0.6846 MB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.7863, allocations: 11.44 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7863, allocations: 0 / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.001966/0.7882, allocations: 0.7152 MB / 1.215 GB, free: 6.617 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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