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.001484/0.001484, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.00189/0.00189, allocations: 169.6 kB / 22.46 MB, free: 5.359 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.903/2.903, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.521e-05, allocations: 10.28 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001675/0.0017, allocations: 0.6398 MB / 1.001 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004838/0.002184, allocations: 171.3 kB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.002224, allocations: 0 / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.002247, allocations: 7.938 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.002412, allocations: 7.875 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.00267, allocations: 75.73 kB / 1.001 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.002751, allocations: 31.86 kB / 1.001 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.002804, allocations: 8 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.002858, allocations: 19.97 kB / 1.001 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.002928, allocations: 15.91 kB / 1.001 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.002949, allocations: 4 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.003075, allocations: 47.89 kB / 1.001 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003096, allocations: 15.91 kB / 1.001 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003118, allocations: 8 kB / 1.001 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.003316, allocations: 87.78 kB / 1.001 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.00332, allocations: 3.984 kB / 1.001 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003321, allocations: 0 / 1.001 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.003331, allocations: 3.938 kB / 1.001 GB, free: 6.086 MB / 0.9512 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.0006333/0.003964, allocations: 290.1 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.004007, allocations: 12.03 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.004719, allocations: 60.8 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.004893, allocations: 125.7 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004903, allocations: 4.375 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.00494, allocations: 384 / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.005183, allocations: 82.12 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.005197, allocations: 4.125 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.005216, allocations: 384 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00522, allocations: 384 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.005474, allocations: 63.89 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.00578, allocations: 196.5 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.006168, allocations: 94.58 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.006299, allocations: 36.94 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.006316, allocations: 0 / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.006346, allocations: 30.56 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006346, allocations: 0 / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.03049/0.03683, allocations: 1.527 MB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.03688, allocations: 51.41 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.03702, allocations: 117.8 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/0.03712, allocations: 29.7 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.03719, allocations: 88.09 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.03728, allocations: 31.73 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.03754, allocations: 25.7 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.03769, allocations: 314.8 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.0383, allocations: 159.9 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.03887, allocations: 147.9 kB / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.04012, allocations: 321.3 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.04012, allocations: 0 / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001476/0.04159, allocations: 365.5 kB / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.04162, allocations: 8 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.04162, allocations: 0 / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.04164, allocations: 3.984 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.04354, allocations: 67.86 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.04355, allocations: 0 / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.04516, allocations: 55.94 kB / 1.005 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.04524, allocations: 0 / 1.005 GB, free: 1.652 MB / 0.9512 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.0002261/0.04546, allocations: 113.8 kB / 1.006 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.04557, allocations: 15.89 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.04571, allocations: 16.44 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.04571, allocations: 0 / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.04572, allocations: 7.938 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.04573, allocations: 3.984 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/0.05235, allocations: 0.7361 MB / 1.006 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.05235, allocations: 8.062 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.05374, allocations: 55.88 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.05375, allocations: 4 kB / 1.006 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.05381, allocations: 3.984 kB / 1.006 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.05382, allocations: 0 / 1.006 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.05382, allocations: 4 kB / 1.006 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.05501, allocations: 349 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.05502, allocations: 0 / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.05512, allocations: 8 kB / 1.007 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.05638, allocations: 43.94 kB / 1.007 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.0564, allocations: 4 kB / 1.007 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.05646, allocations: 3.984 kB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.748e-05/0.05654, allocations: 95.28 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.05654, allocations: 384 / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004284/0.05697, allocations: 91.94 kB / 1.007 GB, free: 32 kB / 0.9512 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.000236/0.0572, allocations: 111.2 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.0584, allocations: 259.8 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.0584, allocations: 0 / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.05891, allocations: 112 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.05923, allocations: 8 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.06262, allocations: 310.5 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.366e-05/0.0627, allocations: 75.19 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004999/0.0632, allocations: 56 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.06379, allocations: 20.48 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of SimCode: time 8.62e-07/0.06379, allocations: 4 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.01692/0.08072, allocations: 10.24 MB / 1.018 GB, free: 4.715 MB / 0.9669 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: 8.503752648830414]