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.00168/0.00168, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002091/0.002091, allocations: 209 kB / 22.99 MB, free: 4.984 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.196/3.196, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002145/0.002145, allocations: 71.12 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001893/0.4003, allocations: 0.6255 MB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.4025, allocations: 1.385 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.4025, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.478e-05/0.4026, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.4026, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.4033, allocations: 188.6 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.4034, allocations: 47.84 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.4035, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.4035, allocations: 15.98 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.4036, allocations: 35.89 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4036, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.404, allocations: 227.6 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.4041, allocations: 11.94 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.4041, allocations: 23.86 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.4044, allocations: 187.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4044, allocations: 7.922 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4044, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4044, allocations: 0 / 1.33 GB, free: 14.18 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.0005489/0.405, allocations: 369.3 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.405, allocations: 8.031 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.4051, allocations: 8.891 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4052, allocations: 118.3 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4052, allocations: 8.375 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4053, allocations: 384 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.4055, allocations: 131.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4055, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4055, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4055, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4056, allocations: 97.66 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.4058, allocations: 121.2 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4059, allocations: 116.2 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4061, allocations: 94.59 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.4061, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4061, allocations: 30.56 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4061, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000476/0.4066, allocations: 318.5 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4066, allocations: 81.11 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4068, allocations: 147.5 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4068, allocations: 29.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.4069, allocations: 96.16 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4069, allocations: 11.84 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.4069, allocations: 29.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4071, allocations: 318.8 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4073, allocations: 167.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4075, allocations: 179.3 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4078, allocations: 285.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4078, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004576/0.4083, allocations: 396.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.4083, allocations: 71.33 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4083, allocations: 4.062 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4084, allocations: 144 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.4084, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4084, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4086, allocations: 19.88 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4086, allocations: 7.984 kB / 1.333 GB, free: 10.67 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.0001246/0.4087, allocations: 147.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.4087, allocations: 11.89 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.4087, allocations: 8.344 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4087, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4087, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4087, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.4089, allocations: 121.3 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4089, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.4089, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4089, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4089, allocations: 7.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4089, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4089, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.4092, allocations: 264.3 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.4092, allocations: 11.89 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.4093, allocations: 7.969 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.4093, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.4094, allocations: 7.984 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.4094, allocations: 4 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.4095, allocations: 109.3 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4095, allocations: 0 / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003012/0.4098, allocations: 63.94 kB / 1.334 GB, free: 9.828 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.0002922/0.4101, allocations: 157.9 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.4106, allocations: 419.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4106, allocations: 4.062 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.4107, allocations: 153 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.4109, allocations: 13.36 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.4113, allocations: 243 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.4114, allocations: 79.31 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.37e-06/0.4114, allocations: 0 / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.4114, allocations: 7.438 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4114, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of Templates: time 0.005505/0.4169, allocations: 2.211 MB / 1.337 GB, free: 6.465 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 -s gbode -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: 9.045479436012101]