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.00185/0.00185, 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.002243/0.002243, allocations: 212.8 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.224/3.224, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.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: 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.002051/0.002051, allocations: 76.53 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003033/0.3229, allocations: 1.501 MB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3244, allocations: 0.7646 MB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.3244, allocations: 0 / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.3247, allocations: 135.7 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.3253, allocations: 183.5 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3255, allocations: 75.73 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3256, allocations: 63.86 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.3257, allocations: 8 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.3258, allocations: 43.88 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3259, allocations: 95.7 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.326, allocations: 4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.3264, allocations: 239.6 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3266, allocations: 107.7 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.3267, allocations: 59.47 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.3272, allocations: 322.8 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3272, allocations: 0 / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3272, allocations: 0 / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3272, allocations: 4 kB / 1.368 GB, free: 9.996 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.0008606/0.328, allocations: 0.5079 MB / 1.369 GB, free: 9.457 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3281, allocations: 12.03 kB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.3282, allocations: 32.7 kB / 1.369 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.3286, allocations: 320.8 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3286, allocations: 4.375 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3286, allocations: 384 / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3288, allocations: 89.97 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3289, allocations: 0 / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3289, allocations: 4 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3289, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.3291, allocations: 95.94 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.3297, allocations: 400.4 kB / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3299, allocations: 110.5 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.33, allocations: 52.89 kB / 1.37 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.3301, allocations: 23.92 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3301, allocations: 38.55 kB / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3301, allocations: 4 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005158/0.3306, allocations: 209.4 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3307, allocations: 51.41 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.3313, allocations: 0.5366 MB / 1.371 GB, free: 7.395 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3313, allocations: 29.7 kB / 1.371 GB, free: 7.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3314, allocations: 156.1 kB / 1.371 GB, free: 7.203 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3315, allocations: 12.08 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.3315, allocations: 37.7 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3317, allocations: 346.8 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.3319, allocations: 91.94 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.332, allocations: 95.88 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3324, allocations: 179.4 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3324, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004494/0.3328, allocations: 277.2 kB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3328, allocations: 4 kB / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3328, allocations: 0 / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3329, allocations: 4 kB / 1.372 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.333, allocations: 31.97 kB / 1.372 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.333, allocations: 3.938 kB / 1.372 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.3331, allocations: 11.92 kB / 1.372 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3331, allocations: 4 kB / 1.372 GB, free: 6.105 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 (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.0001743/0.3333, allocations: 178.8 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.3333, allocations: 31.81 kB / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3337, allocations: 163.9 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3337, allocations: 0 / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3337, allocations: 0 / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3337, allocations: 0 / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3339, allocations: 213.2 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.3339, allocations: 7.938 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.334, allocations: 16.02 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.334, allocations: 0 / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.334, allocations: 0 / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.334, allocations: 3.938 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.334, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3344, allocations: 255.3 kB / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3345, allocations: 43.73 kB / 1.373 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3345, allocations: 4 kB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.3346, allocations: 8.031 kB / 1.373 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.3347, allocations: 3.984 kB / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3347, allocations: 0 / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004381/0.3351, allocations: 403 kB / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3351, allocations: 0 / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000373/0.3355, allocations: 83.88 kB / 1.373 GB, free: 4.656 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.000373/0.3358, allocations: 147.1 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3362, allocations: 159.8 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3362, allocations: 4 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3363, allocations: 51.95 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3367, allocations: 25.44 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.3375, allocations: 0.5256 MB / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3376, allocations: 167.7 kB / 1.374 GB, free: 3.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.3377, allocations: 19.44 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3377, allocations: 0 / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of Templates: time 0.006049/0.3437, allocations: 3.463 MB / 1.378 GB, free: 60 kB / 1.061 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=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/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.199435683898628]