Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 116.2 kB / 16.42 MB, free: 6.02 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.001704/0.001704, allocations: 185.6 kB / 17.35 MB, free: 5.633 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.89 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199/1.2, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003202/1.204, allocations: 1.504 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00155/1.205, allocations: 0.7245 MB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/1.205, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/1.206, allocations: 131.7 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/1.206, allocations: 67.84 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/1.206, allocations: 179.6 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/1.207, allocations: 71.8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/1.207, allocations: 4 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/1.207, allocations: 39.89 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/1.207, allocations: 75.86 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/1.207, allocations: 4 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/1.207, allocations: 223.7 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/1.208, allocations: 63.83 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/1.208, allocations: 55.48 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/1.208, allocations: 279 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.208, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.994e-06/1.208, allocations: 4 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.208, allocations: 0 / 1.212 GB, free: 10.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000925/1.209, allocations: 0.4962 MB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.581e-05/1.209, allocations: 8.031 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/1.209, allocations: 24.66 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/1.21, allocations: 263.6 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.21, allocations: 384 / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/1.21, allocations: 4.375 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/1.21, allocations: 85.97 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.21, allocations: 3.938 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/1.21, allocations: 0 / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.21, allocations: 0 / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/1.21, allocations: 83.94 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/1.211, allocations: 400.7 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/1.211, allocations: 86.53 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/1.211, allocations: 48.83 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/1.211, allocations: 19.97 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.211, allocations: 38.5 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/1.211, allocations: 0 / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005372/1.212, allocations: 177.3 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.212, allocations: 55.39 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/1.212, allocations: 359.1 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.212, allocations: 25.7 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.213, allocations: 140.1 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/1.213, allocations: 3.906 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/1.213, allocations: 29.83 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.213, allocations: 338.8 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/1.213, allocations: 95.94 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.213, allocations: 95.89 kB / 1.215 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/1.214, allocations: 210.4 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.214, allocations: 7.938 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004223/1.214, allocations: 249.2 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.214, allocations: 4 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.214, allocations: 0 / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.214, allocations: 4 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.214, allocations: 7.984 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.214, allocations: 0 / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/1.214, allocations: 19.83 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/1.214, allocations: 7.984 kB / 1.215 GB, free: 6.59 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): 2 * Array equations: 1 * 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.0002566/1.215, allocations: 149.7 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/1.215, allocations: 19.72 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/1.215, allocations: 142.6 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.215, allocations: 3.984 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.215, allocations: 4 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/1.215, allocations: 100.8 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.215, allocations: 8.031 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/1.215, allocations: 3.984 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/1.215, allocations: 7.938 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000455/1.216, allocations: 200.8 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003418/1.216, allocations: 306.5 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001565/1.216, allocations: 47.97 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004077/1.217, allocations: 253.9 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of Backend: time 4.31e-07/1.217, allocations: 0 / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008818/1.218, allocations: 250.3 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001126/1.219, allocations: 0.7943 MB / 1.217 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.006915/1.226, allocations: 2.264 MB / 1.219 GB, free: 1.949 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches