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.001332/0.001332, allocations: 102.1 kB / 19.7 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.00147/0.00147, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.8 MB, free: 8.031 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.278/3.278, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.001996/0.001996, allocations: 62.16 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001782/0.3255, allocations: 0.6436 MB / 1.355 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004578/0.326, allocations: 211.5 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.326, allocations: 0 / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.326, allocations: 7.938 kB / 1.355 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.3262, allocations: 7.938 kB / 1.355 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3264, allocations: 71.77 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.3265, allocations: 27.95 kB / 1.355 GB, free: 6.941 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.3265, allocations: 0 / 1.355 GB, free: 6.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.3265, allocations: 19.92 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.3266, allocations: 27.84 kB / 1.355 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3266, allocations: 0 / 1.355 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3268, allocations: 107.8 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.3268, allocations: 11.94 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.3269, allocations: 19.86 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.327, allocations: 99.69 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.327, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.327, allocations: 4 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.327, allocations: 0 / 1.355 GB, free: 6.656 MB / 1.045 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.0005354/0.3276, allocations: 290.1 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3276, allocations: 11.97 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.3283, allocations: 60.84 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3284, allocations: 126.4 kB / 1.356 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3284, allocations: 384 / 1.356 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.3285, allocations: 4.375 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3287, allocations: 78.19 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3287, allocations: 192 / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3287, allocations: 3.938 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3287, allocations: 0 / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3289, allocations: 67.89 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.3292, allocations: 235.9 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3296, allocations: 98.44 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3297, allocations: 36.94 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3297, allocations: 0 / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3297, allocations: 34.55 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3297, allocations: 4 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.02717/0.3569, allocations: 1.511 MB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3569, allocations: 55.34 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.357, allocations: 121.8 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.3571, allocations: 29.7 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.3572, allocations: 88.12 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.3573, allocations: 23.81 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3575, allocations: 25.7 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3576, allocations: 322.8 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.3581, allocations: 155.9 kB / 1.359 GB, free: 3.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.3587, allocations: 151.9 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3597, allocations: 316.8 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3597, allocations: 0.5625 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001277/0.361, allocations: 365.4 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.361, allocations: 4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.361, allocations: 0 / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3611, allocations: 4 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.3627, allocations: 67.86 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3627, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.364, allocations: 55.94 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.3641, allocations: 4 kB / 1.36 GB, free: 2.172 MB / 1.045 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.000194/0.3643, allocations: 121.6 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.3644, allocations: 7.953 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3645, allocations: 24.36 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3645, allocations: 4 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3645, allocations: 0 / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3645, allocations: 0 / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.3703, allocations: 0.8482 MB / 1.361 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3703, allocations: 7.938 kB / 1.361 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.3715, allocations: 55.92 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3715, allocations: 4 kB / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.3716, allocations: 0 / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.3716, allocations: 8 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3716, allocations: 4 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3726, allocations: 345.1 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3727, allocations: 7.953 kB / 1.361 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.3727, allocations: 3.984 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.3739, allocations: 51.89 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.3739, allocations: 7.984 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.374, allocations: 4 kB / 1.361 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.426e-05/0.374, allocations: 91.27 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.374, allocations: 0 / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003912/0.3744, allocations: 96 kB / 1.361 GB, free: 420 kB / 1.045 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.0001678/0.3746, allocations: 91.25 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3757, allocations: 268.2 kB / 1.362 GB, free: 52 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3757, allocations: 0 / 1.362 GB, free: 52 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.3761, allocations: 108.1 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3764, allocations: 16.06 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.3794, allocations: 344 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3797, allocations: 0.6885 MB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.3802, allocations: 15.42 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3802, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of Templates: time 0.00835/0.3885, allocations: 5.545 MB / 1.368 GB, free: 9.242 MB / 1.061 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.32014224602608]