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.001338/0.001338, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001354/0.001354, allocations: 159.3 kB / 23.01 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.863/2.863, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] 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.002131/0.002131, allocations: 75.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7691, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002214/0.7713, allocations: 1.522 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.7724, allocations: 0.7203 MB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.7724, allocations: 3.938 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.7726, allocations: 123 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.7727, allocations: 72.88 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.7733, allocations: 187.7 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7734, allocations: 61.69 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.7735, allocations: 3.547 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.7735, allocations: 43.2 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.7736, allocations: 85.44 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.7737, allocations: 2.125 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.7741, allocations: 248.4 kB / 1.19 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.7742, allocations: 59.84 kB / 1.19 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.7742, allocations: 46.69 kB / 1.19 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.7746, allocations: 277 kB / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.7746, allocations: 1.406 kB / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7746, allocations: 0 / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7746, allocations: 0 / 1.19 GB, free: 14.41 MB / 1.076 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.0005348/0.7751, allocations: 443.8 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.7752, allocations: 9.188 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.7752, allocations: 24.8 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.7754, allocations: 211.7 kB / 1.191 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.7754, allocations: 1.438 kB / 1.191 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.7754, allocations: 9.703 kB / 1.191 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.7756, allocations: 83.86 kB / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.7756, allocations: 0 / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.7756, allocations: 1.125 kB / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.7756, allocations: 0 / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.7758, allocations: 85.83 kB / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.7763, allocations: 340 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.7764, allocations: 90.83 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.7765, allocations: 49.73 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.7766, allocations: 17.56 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.09e-05/0.7766, allocations: 31.81 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7766, allocations: 0 / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0004289/0.777, allocations: 182.3 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.777, allocations: 53.39 kB / 1.192 GB, free: 13.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.7773, allocations: 361 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.7773, allocations: 26.45 kB / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.7774, allocations: 140 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.7774, allocations: 5.766 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.7775, allocations: 30.06 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.7775, allocations: 334.7 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7777, allocations: 102.3 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.7778, allocations: 98.97 kB / 1.193 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.7781, allocations: 202.8 kB / 1.193 GB, free: 12.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7781, allocations: 1.062 kB / 1.193 GB, free: 12.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003459/0.7785, allocations: 255.3 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7785, allocations: 5.156 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7785, allocations: 0.75 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.7785, allocations: 8.875 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.7786, allocations: 9.578 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7786, allocations: 0 / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.7786, allocations: 15.67 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.7786, allocations: 1.484 kB / 1.193 GB, free: 12.54 MB / 1.076 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 8.328e-05/0.7787, allocations: 144.2 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.7788, allocations: 20.17 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.779, allocations: 146.9 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.779, allocations: 1.219 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7791, allocations: 0.6562 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7791, allocations: 5.031 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.7792, allocations: 180.6 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7792, allocations: 3.938 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.7793, allocations: 17.75 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.7793, allocations: 1 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.7793, allocations: 0 / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7793, allocations: 5.125 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7793, allocations: 4.734 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.7796, allocations: 227.8 kB / 1.194 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.7796, allocations: 30.06 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.7796, allocations: 0.6562 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.7797, allocations: 5.984 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.7798, allocations: 6.734 kB / 1.194 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7798, allocations: 1.375 kB / 1.194 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002144/0.78, allocations: 251.7 kB / 1.194 GB, free: 11.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.78, allocations: 4.031 kB / 1.194 GB, free: 11.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003548/0.7803, allocations: 67.42 kB / 1.194 GB, free: 11.91 MB / 1.076 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.0002392/0.7806, allocations: 151.3 kB / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.7809, allocations: 147.6 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7809, allocations: 3.938 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.781, allocations: 43.7 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.7813, allocations: 20.88 kB / 1.195 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.7818, allocations: 377.5 kB / 1.195 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.7819, allocations: 128.7 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.7819, allocations: 18.98 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.782, allocations: 18.56 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.782, allocations: 0 / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of Templates: time 0.005508/0.7875, allocations: 2.129 MB / 1.197 GB, free: 11.26 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.348546842113137]