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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 215.3 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.226/3.226, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 69.55 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4066, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003029/0.4096, allocations: 1.514 MB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4112, allocations: 0.7139 MB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4112, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.4115, allocations: 135.7 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.4116, allocations: 67.83 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.4124, allocations: 197.8 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.4126, allocations: 59.81 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.4126, allocations: 4 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.4127, allocations: 43.88 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.4128, allocations: 91.83 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4129, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.4133, allocations: 239.6 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4135, allocations: 63.81 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.4135, allocations: 39.62 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.414, allocations: 275 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.414, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.24e-06/0.414, allocations: 3.984 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.414, allocations: 4 kB / 1.368 GB, free: 10.12 MB / 1.061 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.0008461/0.4148, allocations: 440.8 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.4149, allocations: 12.03 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.4149, allocations: 20.8 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.4153, allocations: 214.6 kB / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4153, allocations: 384 / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.4153, allocations: 384 / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.4155, allocations: 81.92 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4155, allocations: 0 / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4155, allocations: 7.984 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4155, allocations: 0 / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4158, allocations: 83.94 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.4164, allocations: 332.5 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4165, allocations: 98.34 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4167, allocations: 44.89 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.4167, allocations: 27.91 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4168, allocations: 30.56 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.4168, allocations: 4 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004715/0.4172, allocations: 173.5 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4173, allocations: 55.39 kB / 1.37 GB, free: 8.398 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.4177, allocations: 356.4 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4177, allocations: 29.7 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4179, allocations: 136.2 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4179, allocations: 11.94 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.4179, allocations: 25.7 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.4181, allocations: 338.8 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.4183, allocations: 95.94 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4185, allocations: 95.89 kB / 1.371 GB, free: 7.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.4188, allocations: 215.3 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4188, allocations: 0 / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003933/0.4192, allocations: 257.3 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4192, allocations: 4 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4192, allocations: 4 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4192, allocations: 0 / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.4193, allocations: 7.984 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4193, allocations: 0 / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.4194, allocations: 19.88 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4194, allocations: 0 / 1.371 GB, free: 6.789 MB / 1.061 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.0001424/0.4196, allocations: 153.7 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.4196, allocations: 19.86 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.4199, allocations: 142.8 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4199, allocations: 3.984 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4199, allocations: 0 / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4199, allocations: 0 / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4202, allocations: 185.2 kB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4202, allocations: 7.938 kB / 1.372 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.4202, allocations: 12.02 kB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4202, allocations: 0 / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4202, allocations: 0 / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4202, allocations: 3.938 kB / 1.372 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4202, allocations: 4 kB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.4206, allocations: 235.3 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.4206, allocations: 27.8 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4206, allocations: 0 / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.4207, allocations: 12.02 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.4208, allocations: 3.938 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.4208, allocations: 0 / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002803/0.421, allocations: 255 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.421, allocations: 0 / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003507/0.4214, allocations: 67.88 kB / 1.372 GB, free: 5.617 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 0.0003233/0.4217, allocations: 151.1 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.4221, allocations: 151.8 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4221, allocations: 0 / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4222, allocations: 39.97 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4225, allocations: 20.36 kB / 1.373 GB, free: 5.258 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.4233, allocations: 413.5 kB / 1.373 GB, free: 4.816 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4234, allocations: 123.2 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.4235, allocations: 19.42 kB / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.4235, allocations: 0 / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of Templates: time 0.005575/0.429, allocations: 2.474 MB / 1.375 GB, free: 2.199 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.242700202856213]