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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001995/0.001995, allocations: 67.91 kB / 1.107 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9854/0.9874, allocations: 168.7 MB / 1.272 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001808/0.9892, allocations: 0.6438 MB / 1.273 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.991, allocations: 1.395 MB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.9911, allocations: 0.875 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.603e-05/0.9911, allocations: 2.703 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.9911, allocations: 8.844 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.9918, allocations: 176.3 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.9919, allocations: 48.39 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.992, allocations: 2.156 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.992, allocations: 18.48 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.9921, allocations: 27.34 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.9921, allocations: 3.469 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.9925, allocations: 204.7 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.9925, allocations: 16.53 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.9926, allocations: 29.47 kB / 1.275 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.9928, allocations: 185.9 kB / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9928, allocations: 0.9062 kB / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9928, allocations: 0 / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.9928, allocations: 0 / 1.275 GB, free: 6.492 MB / 0.9981 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.0004043/0.9932, allocations: 445.3 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.9933, allocations: 9.469 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.9933, allocations: 7.828 kB / 1.275 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.9934, allocations: 182.2 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.9934, allocations: 2.094 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.9935, allocations: 7.406 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.9936, allocations: 105.2 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.9936, allocations: 0.9062 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.9937, allocations: 5.156 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9937, allocations: 1.359 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.9938, allocations: 59.14 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.9939, allocations: 171.2 kB / 1.276 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.994, allocations: 75.77 kB / 1.276 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.9941, allocations: 69.23 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.9941, allocations: 0.6562 kB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.9942, allocations: 38.08 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.9942, allocations: 3.938 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004172/0.9946, allocations: 250.1 kB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.9946, allocations: 81.03 kB / 1.276 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.9947, allocations: 146.4 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.9947, allocations: 30.7 kB / 1.276 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.9948, allocations: 93.86 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.9948, allocations: 13.75 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.9948, allocations: 29.02 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.9949, allocations: 319.1 kB / 1.277 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.995, allocations: 102.5 kB / 1.277 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.9952, allocations: 101.2 kB / 1.277 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.9954, allocations: 279.8 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9954, allocations: 4.875 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003453/0.9958, allocations: 316.7 kB / 1.278 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.9958, allocations: 74.53 kB / 1.278 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9958, allocations: 4.688 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9959, allocations: 1.031 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.9959, allocations: 0 / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.9959, allocations: 0 / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.996, allocations: 14.45 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.996, allocations: 3.719 kB / 1.278 GB, free: 4.352 MB / 0.9981 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 8.318e-05/0.9961, allocations: 156.1 kB / 1.278 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.9961, allocations: 12.48 kB / 1.278 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.9961, allocations: 9.984 kB / 1.278 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9961, allocations: 1.031 kB / 1.278 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9961, allocations: 0 / 1.278 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9961, allocations: 3.984 kB / 1.278 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.9963, allocations: 171.2 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9963, allocations: 0 / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-06/0.9963, allocations: 8.719 kB / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9963, allocations: 0.875 kB / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.9963, allocations: 5.875 kB / 1.278 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.9963, allocations: 3.938 kB / 1.278 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9963, allocations: 0.875 kB / 1.278 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.9967, allocations: 228.4 kB / 1.278 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.9967, allocations: 86.81 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.9967, allocations: 4.891 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.9968, allocations: 3.562 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.9969, allocations: 9.719 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.9969, allocations: 6.719 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.997, allocations: 110.8 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.997, allocations: 0.8125 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004314/0.9974, allocations: 63.62 kB / 1.278 GB, free: 3.648 MB / 0.9981 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.0004014/0.9978, allocations: 150.5 kB / 1.279 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.9983, allocations: 335.2 kB / 1.279 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9983, allocations: 0 / 1.279 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.9985, allocations: 125.2 kB / 1.279 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.9987, allocations: 9.625 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.9992, allocations: 230.4 kB / 1.279 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.9995, allocations: 0.6906 MB / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.578e-06/0.9995, allocations: 0 / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.9995, allocations: 9.156 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.9995, allocations: 0 / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.006482/1.006, allocations: 2.078 MB / 1.282 GB, free: 2.312 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.025098267942667]