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.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.001062/0.001062, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002585, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000862/0.000862, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002504, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08358/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.456/2.456, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2522/2.708, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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 1.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.93e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001969/0.001988, allocations: 1.573 MB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.002946, allocations: 0.7983 MB / 0.8213 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.002985, allocations: 4 kB / 0.8213 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.003178, allocations: 131.7 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.003553, allocations: 171.5 kB / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.003662, allocations: 63.8 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.003756, allocations: 63.83 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.003824, allocations: 3.984 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.003911, allocations: 67.81 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.003995, allocations: 71.91 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004009, allocations: 4 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.00461, allocations: 267.5 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.004714, allocations: 107.7 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.004744, allocations: 23.88 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.005025, allocations: 299 kB / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.005036, allocations: 0 / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005037, allocations: 0 / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.00505, allocations: 0 / 0.8225 GB, free: 14.8 MB / 0.8073 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.0005338/0.005583, allocations: 0.5024 MB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.005614, allocations: 8.031 kB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.005654, allocations: 20.91 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.005831, allocations: 243 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.005841, allocations: 384 / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.00585, allocations: 384 / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.005949, allocations: 53.78 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.005955, allocations: 4.125 kB / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.005961, allocations: 384 / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005966, allocations: 3.938 kB / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.005985, allocations: 4 kB / 0.8233 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.006181, allocations: 167.2 kB / 0.8235 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.00623, allocations: 65.31 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.006245, allocations: 8.859 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.006286, allocations: 24.05 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006306, allocations: 38.48 kB / 0.8236 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.006307, allocations: 0 / 0.8236 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.006418, allocations: 49.62 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.006443, allocations: 51.41 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.006669, allocations: 380.9 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006681, allocations: 25.7 kB / 0.8241 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.006727, allocations: 129 kB / 0.8242 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.006744, allocations: 12.06 kB / 0.8242 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.006782, allocations: 45.59 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.006868, allocations: 342.7 kB / 0.8246 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.006892, allocations: 18.83 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.006915, allocations: 23.02 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.006971, allocations: 55.59 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006973, allocations: 0 / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.484e-05/0.007057, allocations: 93.64 kB / 0.8248 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.00707, allocations: 4 kB / 0.8248 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007076, allocations: 4 kB / 0.8248 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007089, allocations: 3.938 kB / 0.8248 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.007183, allocations: 35.92 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007187, allocations: 4 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.007214, allocations: 0 / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.00722, allocations: 8 kB / 0.8248 GB, free: 12.25 MB / 0.8073 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 5.499e-05/0.007275, allocations: 108.7 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.007298, allocations: 19.97 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.949e-05/0.007388, allocations: 63.88 kB / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.007391, allocations: 7.922 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007393, allocations: 4 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007396, allocations: 4.031 kB / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.007503, allocations: 113.8 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007504, allocations: 0 / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.007533, allocations: 7.984 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.007563, allocations: 35.73 kB / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007565, allocations: 0 / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.007568, allocations: 0 / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.007571, allocations: 3.938 kB / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007572, allocations: 0 / 0.8252 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.00766, allocations: 194.3 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.007673, allocations: 4.031 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.007709, allocations: 3.938 kB / 0.8254 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.007736, allocations: 11.92 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.007738, allocations: 0 / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001083/0.007846, allocations: 167.5 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007846, allocations: 0 / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00021/0.008056, allocations: 79.92 kB / 0.8256 GB, free: 11.38 MB / 0.8073 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.0002091/0.008265, allocations: 152.2 kB / 0.8258 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.00835, allocations: 42.95 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.008355, allocations: 8 kB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.008376, allocations: 12.84 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.008579, allocations: 67.69 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.009161, allocations: 459.6 kB / 0.8263 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.009219, allocations: 99.8 kB / 0.8264 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.009257, allocations: 34.55 kB / 0.8264 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.009323, allocations: 71.38 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.009323, allocations: 4 kB / 0.8265 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.005599/0.01492, allocations: 3.095 MB / 0.8295 GB, free: 7.32 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.277965418063104]