Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001645/0.001645, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002054/0.002054, allocations: 210.8 kB / 23.03 MB, free: 4.863 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_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.002207/0.002207, allocations: 67.28 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3757, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002851/0.3785, allocations: 1.484 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.38, allocations: 0.7597 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.3801, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.3803, allocations: 131.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.3809, allocations: 183.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3811, allocations: 83.73 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3813, allocations: 67.86 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.3814, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.3814, allocations: 43.88 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3816, allocations: 91.81 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.3816, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.382, allocations: 231.6 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3822, allocations: 107.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.3823, allocations: 71.39 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.3827, allocations: 318.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3827, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3827, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3827, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 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.0008012/0.3835, allocations: 0.5041 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3836, allocations: 8.031 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.3836, allocations: 36.67 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.3841, allocations: 328.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3841, allocations: 384 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3841, allocations: 384 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3843, allocations: 97.95 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3843, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3843, allocations: 4 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3843, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.3845, allocations: 99.92 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.3852, allocations: 400.4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3854, allocations: 110.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3855, allocations: 52.88 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.3855, allocations: 27.98 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3856, allocations: 30.56 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3856, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004894/0.3861, allocations: 213.3 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3861, allocations: 55.41 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.3867, allocations: 0.5327 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3868, allocations: 25.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3869, allocations: 156.1 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3869, allocations: 20.06 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.387, allocations: 41.66 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3872, allocations: 338.8 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3873, allocations: 95.94 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3875, allocations: 95.88 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.3878, allocations: 178.6 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3878, allocations: 4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004365/0.3883, allocations: 273.3 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3883, allocations: 4 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3883, allocations: 3.984 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3883, allocations: 3.984 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3885, allocations: 27.98 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3885, allocations: 0 / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.3886, allocations: 11.94 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3886, allocations: 4 kB / 1.334 GB, free: 9.477 MB / 1.029 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.0001716/0.3887, allocations: 178.2 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.3888, allocations: 31.75 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.3891, allocations: 167.9 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3891, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3891, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3891, allocations: 0 / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.3894, allocations: 213.2 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3894, allocations: 3.938 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.3895, allocations: 19.95 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3895, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3895, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3895, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3895, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.3898, allocations: 263.2 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.3899, allocations: 43.73 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.39, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.39, allocations: 12.02 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.3901, allocations: 4 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3901, allocations: 0 / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004421/0.3905, allocations: 403 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3905, allocations: 0 / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004004/0.3909, allocations: 75.94 kB / 1.336 GB, free: 8.027 MB / 1.029 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.0002888/0.3912, allocations: 147.1 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3916, allocations: 163.8 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3916, allocations: 4 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3917, allocations: 47.97 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3921, allocations: 27.97 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.3929, allocations: 0.5192 MB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3931, allocations: 161.5 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3931, allocations: 19.44 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3931, allocations: 3.938 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of Templates: time 0.006033/0.3992, allocations: 3.474 MB / 1.34 GB, free: 3.422 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.478856209898368]