Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 109.7 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 191.7 kB / 20.03 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.91 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002639/1.05, allocations: 1.47 MB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001382/1.052, allocations: 0.7824 MB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/1.052, allocations: 0.6562 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/1.052, allocations: 139 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006171/1.053, allocations: 174.6 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/1.053, allocations: 76.25 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/1.053, allocations: 65.42 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/1.053, allocations: 15.86 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/1.053, allocations: 34.64 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/1.053, allocations: 78.59 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/1.053, allocations: 3.281 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/1.054, allocations: 236.2 kB / 1.266 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/1.054, allocations: 104.4 kB / 1.266 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/1.054, allocations: 85.12 kB / 1.266 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/1.055, allocations: 323.4 kB / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.055, allocations: 0 / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/1.055, allocations: 0.5625 kB / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.071e-05/1.055, allocations: 4.906 kB / 1.266 GB, free: 6.082 MB / 0.9981 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.0006792/1.055, allocations: 0.5759 MB / 1.267 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.055, allocations: 9.656 kB / 1.267 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/1.055, allocations: 33.45 kB / 1.267 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/1.056, allocations: 386.2 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/1.056, allocations: 1.75 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/1.056, allocations: 1.844 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/1.056, allocations: 89.84 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.056, allocations: 0 / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/1.056, allocations: 0.8125 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/1.056, allocations: 0 / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/1.056, allocations: 103.3 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/1.057, allocations: 456.4 kB / 1.268 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/1.057, allocations: 113.4 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.057, allocations: 57.39 kB / 1.268 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/1.057, allocations: 17.81 kB / 1.268 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.057, allocations: 32.47 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/1.057, allocations: 0 / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0005034/1.058, allocations: 221.8 kB / 1.268 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/1.058, allocations: 52.73 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/1.059, allocations: 0.5312 MB / 1.269 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/1.059, allocations: 27.62 kB / 1.269 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/1.059, allocations: 161.1 kB / 1.269 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/1.059, allocations: 14.95 kB / 1.269 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/1.059, allocations: 35.39 kB / 1.269 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.175e-05/1.059, allocations: 350.6 kB / 1.269 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/1.059, allocations: 91.5 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/1.059, allocations: 100.6 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/1.06, allocations: 178.9 kB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.06, allocations: 0.7188 kB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004443/1.06, allocations: 277.1 kB / 1.27 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.06, allocations: 5.75 kB / 1.27 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.06, allocations: 0 / 1.27 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.06, allocations: 1.062 kB / 1.27 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/1.06, allocations: 31.75 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.06, allocations: 0.7812 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/1.06, allocations: 6.453 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.06, allocations: 3.141 kB / 1.27 GB, free: 3.727 MB / 0.9981 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 (15): * Single equations (assignments): 15 * 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.0001258/1.06, allocations: 180 kB / 1.27 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/1.061, allocations: 28.94 kB / 1.27 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/1.061, allocations: 174.2 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.061, allocations: 0.7812 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.061, allocations: 0.5312 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.061, allocations: 2.359 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.061, allocations: 277.9 kB / 1.271 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.061, allocations: 4.031 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/1.061, allocations: 8.359 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.061, allocations: 0.625 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.061, allocations: 0.8438 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.061, allocations: 1.125 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.061, allocations: 0.7188 kB / 1.271 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/1.062, allocations: 265.4 kB / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/1.062, allocations: 117.1 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.062, allocations: 1.812 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/1.062, allocations: 5.656 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.062, allocations: 3.656 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.062, allocations: 1 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004374/1.062, allocations: 400.4 kB / 1.271 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.062, allocations: 0 / 1.271 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004802/1.063, allocations: 83.19 kB / 1.271 GB, free: 2.832 MB / 0.9981 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.0002797/1.063, allocations: 157.4 kB / 1.272 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003922/1.063, allocations: 171 kB / 1.272 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.063, allocations: 0 / 1.272 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.064, allocations: 56.02 kB / 1.272 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/1.064, allocations: 21.94 kB / 1.272 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/1.065, allocations: 0.5294 MB / 1.272 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/1.065, allocations: 0.769 MB / 1.273 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/1.065, allocations: 17.5 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.065, allocations: 0 / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of Templates: time 0.006162/1.071, allocations: 3.355 MB / 1.276 GB, free: 1.312 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.313608606113121]