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.001611/0.001611, allocations: 110.2 kB / 19.69 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.001715/0.001715, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.167/3.167, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002052/0.002052, allocations: 65.22 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001786/0.321, allocations: 0.6331 MB / 1.355 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.323, allocations: 1.447 MB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.323, allocations: 0 / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.323, allocations: 3.938 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.3231, allocations: 4 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.3237, allocations: 186.8 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3238, allocations: 43.91 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.3239, allocations: 4 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.3239, allocations: 23.92 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.324, allocations: 27.95 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.324, allocations: 4 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.3244, allocations: 219.7 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.3244, allocations: 23.91 kB / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.3245, allocations: 23.81 kB / 1.357 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3248, allocations: 187.5 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3248, allocations: 0 / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3248, allocations: 0 / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3248, allocations: 3.938 kB / 1.357 GB, free: 5.082 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004775/0.3253, allocations: 369.2 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3253, allocations: 12.03 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3253, allocations: 4.891 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3255, allocations: 122.5 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3255, allocations: 384 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3255, allocations: 4.375 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3257, allocations: 102 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3257, allocations: 0 / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3257, allocations: 0 / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3257, allocations: 3.938 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.3258, allocations: 59.95 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.326, allocations: 152.7 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3261, allocations: 86.47 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.3262, allocations: 64.89 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.3262, allocations: 0 / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3262, allocations: 34.5 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3262, allocations: 4 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000412/0.3266, allocations: 251.2 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3267, allocations: 85.09 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3268, allocations: 147 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3269, allocations: 29.7 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.3269, allocations: 104 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3269, allocations: 7.891 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.327, allocations: 29.7 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3271, allocations: 318.8 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3273, allocations: 103.9 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3274, allocations: 99.94 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3277, allocations: 289.9 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3277, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003771/0.3281, allocations: 316.9 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.3281, allocations: 71.39 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3282, allocations: 3.938 kB / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3282, allocations: 3.984 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3282, allocations: 0 / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3282, allocations: 3.938 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3283, allocations: 11.95 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3283, allocations: 4 kB / 1.36 GB, free: 1.992 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: 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.0001255/0.3284, allocations: 159.5 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.3284, allocations: 7.891 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.3285, allocations: 12.33 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3285, allocations: 0 / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3285, allocations: 0 / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3285, allocations: 0 / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3286, allocations: 140.7 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3286, allocations: 3.984 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.3286, allocations: 7.938 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3286, allocations: 4 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3286, allocations: 4 kB / 1.36 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3286, allocations: 0 / 1.36 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3286, allocations: 0 / 1.36 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3289, allocations: 226.7 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.3289, allocations: 15.77 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3289, allocations: 7.938 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.329, allocations: 8 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.3291, allocations: 12.02 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.3291, allocations: 0 / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.3291, allocations: 113.8 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3291, allocations: 0 / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002896/0.3294, allocations: 59.94 kB / 1.36 GB, free: 1.141 MB / 1.045 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.0002799/0.3297, allocations: 151.1 kB / 1.361 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3301, allocations: 322.7 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3301, allocations: 4.062 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3303, allocations: 131.3 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.3304, allocations: 4 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.3308, allocations: 247 kB / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3312, allocations: 0.6885 MB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.3312, allocations: 7.438 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3312, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of Templates: time 0.003787/0.335, allocations: 1.667 MB / 1.364 GB, free: 13.84 MB / 1.061 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/jenkins1/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: 11.114225194003666]