Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001525/0.001525, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001504/0.001504, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.797 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.373/3.373, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [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.002094/0.002094, allocations: 70.52 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001851/0.3709, allocations: 0.6341 MB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004616/0.3713, allocations: 171.7 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.3714, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.3714, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.3715, allocations: 11.88 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3718, allocations: 67.81 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.3718, allocations: 39.84 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.3719, allocations: 0 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.3719, allocations: 19.92 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.372, allocations: 19.91 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.372, allocations: 4 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3721, allocations: 51.81 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3721, allocations: 4 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.3722, allocations: 15.92 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3723, allocations: 91.67 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3724, allocations: 3.938 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3724, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3724, allocations: 3.984 kB / 1.365 GB, free: 12.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005133/0.3729, allocations: 290.1 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3729, allocations: 12.03 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/0.3735, allocations: 56.8 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3737, allocations: 118.5 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3737, allocations: 12.3 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3737, allocations: 4.375 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3739, allocations: 74.19 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3739, allocations: 8.141 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.374, allocations: 3.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.374, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.3742, allocations: 59.89 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3745, allocations: 188.7 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.3749, allocations: 94.52 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.375, allocations: 36.94 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.375, allocations: 7.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.375, allocations: 30.56 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.375, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0277/0.4027, allocations: 1.515 MB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.4028, allocations: 55.41 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4029, allocations: 117.8 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.403, allocations: 29.7 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.4031, allocations: 88.09 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.4032, allocations: 27.84 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.4034, allocations: 29.7 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4035, allocations: 310.8 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.4041, allocations: 155.9 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.4046, allocations: 151.9 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4058, allocations: 337.2 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4058, allocations: 3.938 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001376/0.4072, allocations: 353.5 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4072, allocations: 4 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4072, allocations: 4 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4072, allocations: 4 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4089, allocations: 71.86 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.409, allocations: 0 / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4104, allocations: 47.94 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.4105, allocations: 4 kB / 1.369 GB, free: 8.086 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 (9): * Single equations (assignments): 9 * 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.0002029/0.4107, allocations: 121.7 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4108, allocations: 3.953 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.411, allocations: 24.38 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.411, allocations: 3.984 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.411, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.411, allocations: 0 / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.417, allocations: 0.7396 MB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.417, allocations: 4.422 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.4183, allocations: 51.94 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4183, allocations: 4 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.4183, allocations: 7.984 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4183, allocations: 0 / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4183, allocations: 4.062 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4195, allocations: 345.1 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.4196, allocations: 11.94 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.4196, allocations: 8 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.4208, allocations: 43.94 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.4208, allocations: 7.938 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.4209, allocations: 7.984 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001236/0.421, allocations: 103.3 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.421, allocations: 0 / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003963/0.4214, allocations: 88 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001955/0.4216, allocations: 99.25 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.4228, allocations: 259.8 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4228, allocations: 0 / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.4232, allocations: 115.9 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4235, allocations: 4 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4266, allocations: 326.4 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.4266, allocations: 71.33 kB / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005046/0.4272, allocations: 52 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.4277, allocations: 23.42 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4277, allocations: 0 / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of Templates: time 0.01502/0.4427, allocations: 10.22 MB / 1.382 GB, free: 11.16 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 9.511705635115504]