Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001551/0.001551, allocations: 222.3 kB / 23 MB, free: 4.91 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [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.002133/0.002133, allocations: 68.48 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4001, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002744/0.4029, allocations: 0.6215 MB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.4055, allocations: 1.381 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.4055, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.881e-05/0.4056, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.4057, allocations: 15.86 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.4065, allocations: 179.6 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.4067, allocations: 47.78 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.4067, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.4068, allocations: 19.98 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.4069, allocations: 35.83 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4069, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.4073, allocations: 207.7 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.4074, allocations: 19.92 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.4075, allocations: 15.92 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.4079, allocations: 191.4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 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.0005923/0.4085, allocations: 369.2 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4086, allocations: 16.03 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.4086, allocations: 4.891 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.4088, allocations: 124.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4088, allocations: 384 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4088, allocations: 4.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.4091, allocations: 131.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4091, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4091, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4091, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.4092, allocations: 85.66 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.4094, allocations: 129.2 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.4096, allocations: 116.2 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4097, allocations: 94.58 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.4097, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4097, allocations: 38.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4097, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004976/0.4102, allocations: 314.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.4103, allocations: 81.11 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4105, allocations: 141.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4105, allocations: 25.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.4106, allocations: 92.14 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4106, allocations: 19.88 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.4107, allocations: 29.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4108, allocations: 318.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.411, allocations: 171.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.4112, allocations: 167.3 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.4115, allocations: 285.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4115, allocations: 7.875 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004584/0.412, allocations: 392.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.4121, allocations: 76.56 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4121, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4121, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.4121, allocations: 4.062 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4122, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.4123, allocations: 15.89 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.4123, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 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.000154/0.4125, allocations: 155.5 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4125, allocations: 12.03 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.4126, allocations: 8.328 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4127, allocations: 129.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4127, allocations: 3.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-06/0.4127, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4127, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4127, allocations: 3.938 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4127, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4127, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.413, allocations: 260.4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.4131, allocations: 7.891 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4131, allocations: 7.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.4132, allocations: 7.984 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.4132, allocations: 8.031 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4132, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.455e-05/0.4133, allocations: 112.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4133, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003398/0.4137, allocations: 63.92 kB / 1.333 GB, free: 10.73 MB / 1.029 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.0003328/0.414, allocations: 147.1 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005429/0.4145, allocations: 427.7 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4145, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4147, allocations: 161.1 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.4149, allocations: 4.109 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.4154, allocations: 272.8 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.4155, allocations: 71.33 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.4155, allocations: 15.38 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4155, allocations: 0 / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of Templates: time 0.004482/0.42, allocations: 1.694 MB / 1.336 GB, free: 7.832 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.07798530999571]