Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00166/0.00166, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002056/0.002056, allocations: 209.8 kB / 23.01 MB, free: 4.57 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_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_11_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.002096/0.002096, allocations: 72.56 kB / 1.119 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3795, allocations: 169.9 MB / 1.285 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001901/0.3814, allocations: 0.6497 MB / 1.285 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00047/0.3818, allocations: 199.6 kB / 1.285 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3819, allocations: 0 / 1.285 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.3819, allocations: 7.875 kB / 1.285 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.382, allocations: 7.938 kB / 1.285 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3822, allocations: 79.73 kB / 1.286 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.3823, allocations: 19.98 kB / 1.286 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.3824, allocations: 8 kB / 1.286 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.3824, allocations: 15.92 kB / 1.286 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.3825, allocations: 23.91 kB / 1.286 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3825, allocations: 3.938 kB / 1.286 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3827, allocations: 107.8 kB / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3827, allocations: 11.92 kB / 1.286 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.3827, allocations: 15.88 kB / 1.286 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3829, allocations: 107.7 kB / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3829, allocations: 0 / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3829, allocations: 0 / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3829, allocations: 0 / 1.286 GB, free: 2.012 MB / 0.9825 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.0005294/0.3834, allocations: 294.1 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3835, allocations: 8.031 kB / 1.286 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.3835, allocations: 4.938 kB / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3836, allocations: 130.3 kB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3837, allocations: 4.375 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3837, allocations: 384 / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3838, allocations: 50.23 kB / 1.286 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3838, allocations: 8.188 kB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3838, allocations: 3.938 kB / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3839, allocations: 0 / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.384, allocations: 35.95 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.3843, allocations: 220.1 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3845, allocations: 82.28 kB / 1.287 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.3846, allocations: 20.94 kB / 1.287 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3846, allocations: 0 / 1.287 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3846, allocations: 34.56 kB / 1.287 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3846, allocations: 0 / 1.287 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02648/0.4111, allocations: 1.613 MB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4111, allocations: 51.41 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4113, allocations: 121.8 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.4113, allocations: 25.7 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.4114, allocations: 92.03 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.4115, allocations: 31.78 kB / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4116, allocations: 29.7 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4118, allocations: 318.8 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.4123, allocations: 143.9 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.4127, allocations: 139.9 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.4137, allocations: 296.8 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4137, allocations: 0 / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001138/0.4148, allocations: 334 kB / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4148, allocations: 14.03 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4148, allocations: 0 / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4148, allocations: 0 / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.4163, allocations: 71.86 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4164, allocations: 0 / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4176, allocations: 47.94 kB / 1.29 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.4176, allocations: 0 / 1.29 GB, free: 13.65 MB / 0.9981 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.000192/0.4178, allocations: 121.8 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.4179, allocations: 3.953 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.418, allocations: 20.38 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.418, allocations: 0 / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.418, allocations: 0 / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.418, allocations: 3.984 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/0.4236, allocations: 0.813 MB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4236, allocations: 4 kB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.4247, allocations: 59.81 kB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4247, allocations: 0 / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.4247, allocations: 4 kB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4247, allocations: 3.938 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4248, allocations: 4.062 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.4257, allocations: 321.1 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.4257, allocations: 8 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.4258, allocations: 3.938 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4268, allocations: 47.88 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.4268, allocations: 0 / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.4269, allocations: 11.98 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.4269, allocations: 91.28 kB / 1.291 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4269, allocations: 0 / 1.291 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004065/0.4273, allocations: 91.92 kB / 1.291 GB, free: 11.96 MB / 0.9981 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.0002355/0.4276, allocations: 115.6 kB / 1.292 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009572/0.4285, allocations: 244.2 kB / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4285, allocations: 0 / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.4289, allocations: 96.02 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.4292, allocations: 4.188 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.4319, allocations: 340 kB / 1.292 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4322, allocations: 0.6807 MB / 1.293 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.4327, allocations: 19.42 kB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/0.4327, allocations: 0 / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.008016/0.4407, allocations: 5.056 MB / 1.298 GB, free: 5.316 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.522618543996941]