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.001545/0.001545, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.0015/0.0015, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.14 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, 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.003215/1.015, allocations: 1.512 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001063/1.016, allocations: 438.9 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/1.017, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/1.017, allocations: 7.922 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.94e-05/1.017, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/1.017, allocations: 31.91 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/1.017, allocations: 43.84 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/1.018, allocations: 16 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/1.018, allocations: 23.86 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/1.018, allocations: 19.91 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/1.018, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/1.018, allocations: 8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/1.018, allocations: 15.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/1.018, allocations: 19.88 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/1.018, allocations: 43.8 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.018, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/1.018, allocations: 0 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.018, 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.0006786/1.019, allocations: 363.2 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.019, allocations: 12.03 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/1.019, allocations: 4.938 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.019, allocations: 178 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/1.019, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.019, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/1.019, allocations: 69.97 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.019, allocations: 3.938 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.019, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/1.019, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/1.02, allocations: 43.97 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/1.02, allocations: 304.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/1.021, allocations: 58.61 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/1.021, allocations: 24.84 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/1.021, allocations: 0 / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.021, allocations: 34.56 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.261e-05/1.021, allocations: 0 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004685/1.021, allocations: 93.48 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.021, allocations: 51.41 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.022, allocations: 121.8 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.022, allocations: 25.7 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/1.022, allocations: 92.2 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/1.022, allocations: 15.83 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/1.022, allocations: 13.72 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002331/1.022, allocations: 322.8 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/1.022, allocations: 16 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/1.022, allocations: 15.98 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/1.022, allocations: 44.77 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.022, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002439/1.023, allocations: 73.56 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.023, allocations: 9.719 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.023, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/1.023, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.023, allocations: 15.98 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.023, allocations: 3.938 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/1.023, allocations: 4 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/1.023, allocations: 0 / 1.212 GB, free: 9.242 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 0.0001462/1.023, allocations: 117.8 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/1.023, allocations: 3.906 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/1.023, allocations: 15.83 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.023, allocations: 0 / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.023, allocations: 0 / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/1.023, allocations: 85.11 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/1.023, allocations: 7.875 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/1.024, allocations: 7.984 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/1.024, allocations: 336 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002991/1.024, allocations: 152.9 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004104/1.024, allocations: 242.7 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001238/1.024, allocations: 23.92 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.121e-05/1.025, allocations: 99.64 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/1.025, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005313/1.025, allocations: 96.69 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001079/1.026, allocations: 0.5855 MB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.00413/1.03, allocations: 0.6297 MB / 1.214 GB, free: 7.082 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) Reference file matches