Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001744/0.001744, allocations: 80.52 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.002403/0.002403, allocations: 164.7 kB / 22.46 MB, free: 5.355 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.471/1.471, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.866/2.866, allocations: 389 MB / 0.633 GB, free: 0.9727 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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.834e-05, allocations: 2.281 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001685/0.001713, allocations: 0.6286 MB / 1.001 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.003858, allocations: 1.389 MB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.003884, allocations: 0 / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.003958, allocations: 3.938 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.003998, allocations: 4 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.00475, allocations: 187.4 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004886, allocations: 47.95 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.004921, allocations: 0 / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.004991, allocations: 31.91 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.005052, allocations: 23.95 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005071, allocations: 8 kB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.005503, allocations: 207.6 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.005555, allocations: 15.92 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.005596, allocations: 15.92 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.005999, allocations: 227.5 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006002, allocations: 4 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.42e-07/0.006003, allocations: 3.938 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.006008, allocations: 0 / 1.003 GB, free: 4.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005194/0.006527, allocations: 357.3 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.006566, allocations: 12.03 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.006623, allocations: 8.891 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.00679, allocations: 125.7 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.006805, allocations: 384 / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.006824, allocations: 12.25 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.007045, allocations: 123.9 kB / 1.004 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007055, allocations: 4.188 kB / 1.004 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.007066, allocations: 384 / 1.004 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.007071, allocations: 3.938 kB / 1.004 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.007191, allocations: 89.66 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.007353, allocations: 113.4 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.007506, allocations: 112.2 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.007624, allocations: 98.53 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.007634, allocations: 0 / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.007669, allocations: 34.56 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.007669, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000483/0.008152, allocations: 314.6 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.008222, allocations: 81.05 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.008368, allocations: 155.8 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.008393, allocations: 29.7 kB / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.008453, allocations: 88.12 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.008479, allocations: 15.91 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.008539, allocations: 29.7 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.008701, allocations: 322.9 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.008885, allocations: 167.3 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.00906, allocations: 167.3 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.009372, allocations: 285.8 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009375, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.009822, allocations: 392.3 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.009884, allocations: 71.33 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.009888, allocations: 0 / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.009904, allocations: 0 / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-05/0.009917, allocations: 7.938 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.009922, allocations: 4.062 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.01006, allocations: 15.88 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.01008, allocations: 8 kB / 1.006 GB, free: 0.9414 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001327/0.01022, allocations: 159.5 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.01023, allocations: 4.141 kB / 1.006 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.01026, allocations: 8.328 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01026, allocations: 0 / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.01027, allocations: 7.938 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01027, allocations: 0 / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.01038, allocations: 121.2 kB / 1.006 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01038, allocations: 4 kB / 1.006 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.01038, allocations: 4 kB / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01038, allocations: 0 / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.01041, allocations: 3.938 kB / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01041, allocations: 0 / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01041, allocations: 0 / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.01074, allocations: 264.3 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-06/0.01075, allocations: 0 / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01077, allocations: 4 kB / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.01082, allocations: 4 kB / 1.007 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.0109, allocations: 15.92 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01091, allocations: 4.031 kB / 1.007 GB, free: 272 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.01099, allocations: 115.2 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01099, allocations: 0 / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003041/0.01129, allocations: 59.94 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003287/0.01162, allocations: 159.1 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.01209, allocations: 419.7 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01209, allocations: 3.938 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.01225, allocations: 157 kB / 1.007 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.01241, allocations: 10 kB / 1.007 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.01283, allocations: 239.2 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.0129, allocations: 75.31 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.931e-06/0.01291, allocations: 0 / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.01292, allocations: 16.44 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.01292, allocations: 0 / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of Templates: time 0.005735/0.01866, allocations: 2.138 MB / 1.01 GB, free: 12.79 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 7.935193605720997]