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.0016/0.0016, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001749/0.001749, allocations: 220.7 kB / 23 MB, free: 4.918 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.205/3.205, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.001997/0.001997, allocations: 71.33 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001852/0.3091, allocations: 0.6293 MB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.3096, allocations: 183.6 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.3096, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.3096, allocations: 7.875 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.3098, allocations: 7.922 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.31, allocations: 75.81 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.3101, allocations: 23.92 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.3101, allocations: 4 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.3102, allocations: 15.92 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.3102, allocations: 19.91 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3102, allocations: 4 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3104, allocations: 51.81 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.3104, allocations: 11.94 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3104, allocations: 15.92 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3106, allocations: 95.64 kB / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3106, allocations: 0 / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3106, allocations: 4 kB / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3106, allocations: 0 / 1.366 GB, free: 12.41 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.000564/0.3112, allocations: 286.1 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3112, allocations: 12.03 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.3118, allocations: 60.8 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.312, allocations: 118.5 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.312, allocations: 384 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.312, allocations: 8.375 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.3123, allocations: 74.19 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3123, allocations: 4.141 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3123, allocations: 3.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3123, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.3125, allocations: 67.83 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3128, allocations: 192.7 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.3131, allocations: 90.52 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3133, allocations: 36.94 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3133, allocations: 3.938 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3133, allocations: 34.56 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3133, allocations: 4 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.02694/0.3402, allocations: 1.519 MB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3403, allocations: 51.41 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3404, allocations: 121.7 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/0.3405, allocations: 29.7 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.3406, allocations: 96.08 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.3406, allocations: 15.8 kB / 1.369 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.3408, allocations: 29.7 kB / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.341, allocations: 318.8 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.3415, allocations: 151.9 kB / 1.369 GB, free: 8.949 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.3421, allocations: 155.9 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3432, allocations: 324.7 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3432, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001326/0.3445, allocations: 357.5 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3445, allocations: 4 kB / 1.37 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3445, allocations: 3.938 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3445, allocations: 0 / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.3462, allocations: 71.92 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3462, allocations: 4 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.3477, allocations: 47.94 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.3478, allocations: 4 kB / 1.37 GB, free: 7.988 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.0001974/0.348, allocations: 114.9 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.348, allocations: 8.609 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.3482, allocations: 24.36 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3482, allocations: 4 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3482, allocations: 0 / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3482, allocations: 0 / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.3542, allocations: 0.7478 MB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3542, allocations: 0 / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.3554, allocations: 59.88 kB / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3555, allocations: 0 / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.3555, allocations: 11.98 kB / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3555, allocations: 0 / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3555, allocations: 0 / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3566, allocations: 353.2 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.3566, allocations: 11.95 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.3567, allocations: 0 / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.3578, allocations: 43.94 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.3578, allocations: 11.92 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.3579, allocations: 4 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.3579, allocations: 95.27 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 4 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003811/0.3583, allocations: 92 kB / 1.371 GB, free: 6.34 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.0001674/0.3585, allocations: 95.25 kB / 1.372 GB, free: 6.238 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.3596, allocations: 263.8 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.3596, allocations: 8 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3601, allocations: 99.89 kB / 1.372 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3603, allocations: 11.98 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.3633, allocations: 344 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.3634, allocations: 75.45 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.3639, allocations: 23.36 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.3639, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of Templates: time 0.00828/0.3722, allocations: 5.553 MB / 1.378 GB, free: 15.79 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/jenkins1/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: 11.046959293074906]