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.001342/0.001342, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001585/0.001585, allocations: 161.9 kB / 22.46 MB, free: 5.371 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.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 2.887/2.887, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.123e-05, allocations: 2.281 kB / 1 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002761/0.002782, allocations: 1.528 MB / 1.002 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.004217, allocations: 0.7087 MB / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.004254, allocations: 0 / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.004473, allocations: 139.7 kB / 1.002 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.004584, allocations: 67.83 kB / 1.003 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.005241, allocations: 194.5 kB / 1.003 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.005365, allocations: 67.86 kB / 1.003 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 2.791e-05/0.005393, allocations: 7.938 kB / 1.003 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.005465, allocations: 39.94 kB / 1.003 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.005601, allocations: 91.88 kB / 1.003 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.005616, allocations: 0 / 1.003 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.006089, allocations: 235.6 kB / 1.003 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.045e-05/0.00618, allocations: 63.83 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.006228, allocations: 27.88 kB / 1.003 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.006707, allocations: 307.2 kB / 1.004 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.006712, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.01e-07/0.006713, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006717, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9044 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.0006784/0.007395, allocations: 452.7 kB / 1.004 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.007429, allocations: 12.03 kB / 1.004 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.007479, allocations: 20.8 kB / 1.004 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.007749, allocations: 201.9 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.00776, allocations: 4.375 kB / 1.004 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.007769, allocations: 384 / 1.004 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.007966, allocations: 86.16 kB / 1.004 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.007974, allocations: 192 / 1.004 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.007981, allocations: 384 / 1.004 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.007987, allocations: 7.875 kB / 1.004 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.008206, allocations: 87.92 kB / 1.004 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.008753, allocations: 328.5 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.008937, allocations: 94.53 kB / 1.005 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.009051, allocations: 48.83 kB / 1.005 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.009092, allocations: 19.98 kB / 1.005 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.009131, allocations: 34.5 kB / 1.005 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.009132, allocations: 0 / 1.005 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000468/0.0096, allocations: 177.5 kB / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.009649, allocations: 55.53 kB / 1.005 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.01005, allocations: 360.4 kB / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01007, allocations: 25.7 kB / 1.005 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01018, allocations: 144 kB / 1.006 GB, free: 432 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.01019, allocations: 7.953 kB / 1.006 GB, free: 424 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.01024, allocations: 25.7 kB / 1.006 GB, free: 392 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.01041, allocations: 338.8 kB / 1.006 GB, free: 44 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.01059, allocations: 91.95 kB / 1.006 GB, free: 15.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.01075, allocations: 95.94 kB / 1.006 GB, free: 15.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.01108, allocations: 211.7 kB / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01108, allocations: 0 / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004204/0.0115, allocations: 257.4 kB / 1.007 GB, free: 15.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01152, allocations: 7.938 kB / 1.007 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01152, allocations: 0 / 1.007 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01154, allocations: 96 / 1.007 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.01163, allocations: 15.97 kB / 1.007 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01164, allocations: 7.875 kB / 1.007 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.01171, allocations: 23.88 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01172, allocations: 4 kB / 1.007 GB, free: 15.34 MB / 0.92 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.0001192/0.01184, allocations: 138.5 kB / 1.007 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.01188, allocations: 23.8 kB / 1.007 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.0122, allocations: 142.7 kB / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.0122, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.01221, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01221, allocations: 8.031 kB / 1.007 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01243, allocations: 181.2 kB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01243, allocations: 0 / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.0125, allocations: 8 kB / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0125, allocations: 0 / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01251, allocations: 7.938 kB / 1.007 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01251, allocations: 3.984 kB / 1.007 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01251, allocations: 0 / 1.007 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.01284, allocations: 231.3 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.0129, allocations: 31.78 kB / 1.007 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.01292, allocations: 3.938 kB / 1.007 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.01301, allocations: 7.984 kB / 1.007 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01304, allocations: 4 kB / 1.007 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.01304, allocations: 0 / 1.007 GB, free: 14.49 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002725/0.01332, allocations: 255 kB / 1.008 GB, free: 14.24 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01332, allocations: 0 / 1.008 GB, free: 14.24 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000363/0.01368, allocations: 67.86 kB / 1.008 GB, free: 14.18 MB / 0.92 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.0003249/0.014, allocations: 171.1 kB / 1.008 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.01435, allocations: 147.8 kB / 1.008 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01435, allocations: 0 / 1.008 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.01447, allocations: 39.97 kB / 1.008 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01478, allocations: 16.59 kB / 1.008 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.01544, allocations: 386.3 kB / 1.008 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.01558, allocations: 127.2 kB / 1.009 GB, free: 13.26 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.01563, allocations: 16.48 kB / 1.009 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.01566, allocations: 16.5 kB / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of SimCode: time 5.81e-07/0.01566, allocations: 0 / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of Templates: time 0.006004/0.02167, allocations: 2.137 MB / 1.011 GB, free: 11.1 MB / 0.92 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/jenkins/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: 8.044868387281895]