Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001429/0.001429, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001613/0.001613, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.457/1.457, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.731/2.731, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.533e-05, allocations: 2.281 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001596/0.001621, allocations: 0.6229 MB / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.003753, allocations: 1.381 MB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.003777, allocations: 0 / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.864e-05/0.003835, allocations: 3.938 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.003877, allocations: 4 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.00455, allocations: 183.5 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.00466, allocations: 47.91 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.004697, allocations: 0 / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.004756, allocations: 27.97 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.004825, allocations: 27.84 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004845, allocations: 7.984 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.00523, allocations: 199.7 kB / 0.9535 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.005282, allocations: 15.94 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.005321, allocations: 23.97 kB / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.005667, allocations: 231.4 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00567, allocations: 0 / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005671, allocations: 0 / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.005674, allocations: 0 / 0.9537 GB, free: 8.723 MB / 0.8575 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.0004734/0.006148, allocations: 377.2 kB / 0.9541 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.006184, allocations: 8.031 kB / 0.9541 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.006228, allocations: 8.891 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.006368, allocations: 113.7 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.006384, allocations: 4.375 kB / 0.9542 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.006397, allocations: 4.359 kB / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.006615, allocations: 135.9 kB / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006623, allocations: 192 / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006634, allocations: 384 / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00664, allocations: 3.938 kB / 0.9544 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.006757, allocations: 89.66 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.006925, allocations: 125.3 kB / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.007078, allocations: 108.2 kB / 0.9547 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.00721, allocations: 98.59 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.007215, allocations: 0 / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.007243, allocations: 30.56 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.007244, allocations: 4 kB / 0.9548 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000462/0.007706, allocations: 318.5 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.007781, allocations: 89.03 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.007916, allocations: 136 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.007944, allocations: 29.7 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.008004, allocations: 92.12 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.00803, allocations: 11.84 kB / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.008084, allocations: 29.7 kB / 0.9555 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.008245, allocations: 318.8 kB / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.008439, allocations: 167.3 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.008623, allocations: 179.3 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.008944, allocations: 281.8 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008946, allocations: 4 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005189/0.009465, allocations: 392.2 kB / 0.9567 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.009546, allocations: 71.39 kB / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009551, allocations: 0 / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.009566, allocations: 0 / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-06/0.00957, allocations: 7.875 kB / 0.9568 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.009576, allocations: 3.984 kB / 0.9568 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.009732, allocations: 7.953 kB / 0.9568 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.009748, allocations: 4 kB / 0.9568 GB, free: 5.227 MB / 0.8575 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.0001242/0.009872, allocations: 155.6 kB / 0.957 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.009891, allocations: 7.953 kB / 0.957 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.009907, allocations: 12.28 kB / 0.957 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.00991, allocations: 3.984 kB / 0.957 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.009915, allocations: 3.938 kB / 0.957 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.009917, allocations: 0 / 0.957 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01003, allocations: 117.2 kB / 0.9571 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01003, allocations: 0 / 0.9571 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-06/0.01003, allocations: 4 kB / 0.9571 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01003, allocations: 0 / 0.9571 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01005, allocations: 8 kB / 0.9571 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01005, allocations: 3.984 kB / 0.9571 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01005, allocations: 0 / 0.9571 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.01038, allocations: 264.3 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.01039, allocations: 7.953 kB / 0.9574 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.01041, allocations: 0 / 0.9574 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.01046, allocations: 4 kB / 0.9574 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.01053, allocations: 16.06 kB / 0.9574 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01054, allocations: 7.984 kB / 0.9574 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.01063, allocations: 105.1 kB / 0.9575 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01063, allocations: 32 / 0.9575 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002898/0.01092, allocations: 67.94 kB / 0.9576 GB, free: 4.375 MB / 0.8575 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.0003046/0.01122, allocations: 163.1 kB / 0.9577 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.01171, allocations: 419.7 kB / 0.9581 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01172, allocations: 0 / 0.9581 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.01189, allocations: 153 kB / 0.9583 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.01204, allocations: 10.23 kB / 0.9583 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.01247, allocations: 239.1 kB / 0.9585 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.01255, allocations: 87.3 kB / 0.9586 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.899e-06/0.01255, allocations: 0 / 0.9586 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.01257, allocations: 12.5 kB / 0.9586 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01257, allocations: 0 / 0.9586 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of Templates: time 0.005524/0.01809, allocations: 2.139 MB / 0.9607 GB, free: 1.074 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.705233462154865]