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.001795/0.001795, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002702/0.002702, allocations: 204.2 kB / 22.24 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.809 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.907/2.907, allocations: 476 MB / 0.7699 GB, free: 4.816 MB / 0.6231 GB " [Timeout remaining time 176] 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.002126/0.002126, allocations: 67.94 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002232/0.3476, allocations: 0.6334 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005549/0.3481, allocations: 175.3 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.3482, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.3482, allocations: 3.938 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3484, allocations: 15.92 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3487, allocations: 71.75 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.3488, allocations: 27.97 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.3488, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.3489, allocations: 19.92 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.3489, allocations: 23.84 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.349, allocations: 8 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3491, allocations: 43.89 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3491, allocations: 7.922 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3491, allocations: 15.92 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3494, allocations: 95.66 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3494, allocations: 0 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3494, allocations: 3.938 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3494, allocations: 0 / 1.284 GB, free: 10.78 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.0006311/0.35, allocations: 286.1 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.35, allocations: 12.03 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.3501, allocations: 8.891 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3502, allocations: 122.4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3503, allocations: 4.375 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3503, allocations: 384 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3505, allocations: 58.23 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3505, allocations: 192 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3505, allocations: 7.875 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3505, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3506, allocations: 35.97 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.351, allocations: 196.6 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.3512, allocations: 62.53 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.3513, allocations: 20.94 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.3513, allocations: 11.92 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3514, allocations: 34.5 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3514, allocations: 0 / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02916/0.3805, allocations: 1.617 MB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3806, allocations: 55.41 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3807, allocations: 117.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.3808, allocations: 29.64 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3809, allocations: 92.09 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.3809, allocations: 31.73 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.3812, allocations: 25.7 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3814, allocations: 318.8 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.3819, allocations: 139.9 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.3824, allocations: 140.3 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3834, allocations: 304.8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3834, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001286/0.3847, allocations: 333.5 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3847, allocations: 4 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3847, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3848, allocations: 8 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.3864, allocations: 63.92 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3864, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3878, allocations: 47.94 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.3878, allocations: 4 kB / 1.288 GB, free: 6.461 MB / 0.9825 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.0002376/0.3881, allocations: 119.1 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.3881, allocations: 3.953 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.3883, allocations: 20.38 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3883, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3883, allocations: 4 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3883, allocations: 3.984 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/0.3943, allocations: 0.7084 MB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3943, allocations: 4.062 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.3955, allocations: 51.94 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.3955, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.3955, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3955, allocations: 64 / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3955, allocations: 8 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3966, allocations: 325 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.3966, allocations: 4 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.3967, allocations: 7.984 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.3978, allocations: 39.95 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3978, allocations: 11.88 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.3978, allocations: 3.984 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.3979, allocations: 99.31 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3979, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004008/0.3983, allocations: 95.92 kB / 1.29 GB, free: 4.883 MB / 0.9825 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.0002386/0.3985, allocations: 115.1 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.3996, allocations: 243.8 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3996, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.4, allocations: 96.02 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4003, allocations: 4 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.4031, allocations: 310.2 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.4032, allocations: 67.34 kB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000447/0.4037, allocations: 55.98 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.4041, allocations: 11.44 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.4041, allocations: 0 / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of Templates: time 0.01561/0.4197, allocations: 9.719 MB / 1.3 GB, free: 10.18 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins/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: 9.482946336269379]