Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001832/0.001832, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002173/0.002173, allocations: 160.4 kB / 23.01 MB, free: 4.949 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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 2.847/2.847, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [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.002357/0.002357, allocations: 71.88 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.829, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001746/0.8307, allocations: 0.6326 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004267/0.8311, allocations: 183.7 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.8312, allocations: 1.75 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.8312, allocations: 7.938 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.8314, allocations: 7.219 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.8316, allocations: 71.8 kB / 1.188 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.8316, allocations: 29.86 kB / 1.188 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.8317, allocations: 15.11 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.172e-05/0.8317, allocations: 11.91 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.8318, allocations: 23.61 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.8318, allocations: 2.25 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.8319, allocations: 46.22 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.8319, allocations: 15.45 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.8319, allocations: 9.156 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.8321, allocations: 92.25 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8321, allocations: 0.6094 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8321, allocations: 0 / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8321, allocations: 1.406 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004425/0.8326, allocations: 290 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.8326, allocations: 9.625 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/0.8332, allocations: 65.11 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.8333, allocations: 117.7 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.8334, allocations: 1.531 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.8334, allocations: 2.312 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.8336, allocations: 80.28 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8336, allocations: 5.984 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.8336, allocations: 3.938 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8336, allocations: 1.344 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.8338, allocations: 57.33 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.8341, allocations: 196.7 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.8344, allocations: 94.78 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.8345, allocations: 33.56 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8345, allocations: 5.812 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.8346, allocations: 32.28 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8346, allocations: 0 / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.02871/0.8633, allocations: 1.525 MB / 1.19 GB, free: 14.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.8633, allocations: 53.64 kB / 1.19 GB, free: 14.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.8634, allocations: 117.5 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.8634, allocations: 26.22 kB / 1.19 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.8635, allocations: 91.78 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.8635, allocations: 25.06 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.8637, allocations: 23.83 kB / 1.191 GB, free: 14.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.8638, allocations: 318.9 kB / 1.191 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.8643, allocations: 157.3 kB / 1.191 GB, free: 13.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.8649, allocations: 162 kB / 1.191 GB, free: 13.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.866, allocations: 318.8 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.866, allocations: 0 / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001336/0.8674, allocations: 363.3 kB / 1.192 GB, free: 13.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8674, allocations: 6.094 kB / 1.192 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8674, allocations: 4 kB / 1.192 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8674, allocations: 1.094 kB / 1.192 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.8692, allocations: 62.91 kB / 1.192 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8693, allocations: 5.094 kB / 1.192 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.8709, allocations: 49.38 kB / 1.192 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.8709, allocations: 6.828 kB / 1.192 GB, free: 13.57 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001443/0.8711, allocations: 120.6 kB / 1.192 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.8712, allocations: 11.7 kB / 1.192 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.8713, allocations: 18.89 kB / 1.192 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8713, allocations: 2.188 kB / 1.192 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8713, allocations: 4 kB / 1.192 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8713, allocations: 0.6094 kB / 1.192 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.8775, allocations: 0.7375 MB / 1.193 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.8775, allocations: 5.125 kB / 1.193 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.8788, allocations: 56.08 kB / 1.193 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8788, allocations: 1.688 kB / 1.193 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.8789, allocations: 2.031 kB / 1.193 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.8789, allocations: 5.531 kB / 1.193 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8789, allocations: 1.438 kB / 1.193 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.8799, allocations: 345.8 kB / 1.193 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.8799, allocations: 11.31 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.88, allocations: 2.891 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.8812, allocations: 45.94 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.8813, allocations: 9.156 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.8813, allocations: 4.469 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.8814, allocations: 95.72 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8814, allocations: 1.094 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004068/0.8818, allocations: 92.72 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001258/0.8819, allocations: 99.12 kB / 1.194 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.883, allocations: 262.6 kB / 1.194 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.883, allocations: 1.344 kB / 1.194 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.8834, allocations: 106.6 kB / 1.194 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.8837, allocations: 7.703 kB / 1.194 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.8868, allocations: 321.2 kB / 1.194 GB, free: 12.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.8869, allocations: 69.8 kB / 1.194 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004433/0.8873, allocations: 59.5 kB / 1.194 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.8878, allocations: 15.95 kB / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.8878, allocations: 0 / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of Templates: time 0.01622/0.904, allocations: 10.26 MB / 1.204 GB, free: 11.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 8.909182842005976]