Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001328/0.001328, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001395/0.001395, allocations: 154.6 kB / 23 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.615/2.615, allocations: 359.1 MB / 0.6044 GB, free: 14.8 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_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_11_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.002148/0.002148, allocations: 63.91 kB / 0.9516 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2759, allocations: 169.9 MB / 1.117 GB, free: 2.422 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001799/0.2777, allocations: 0.6383 MB / 1.118 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.2782, allocations: 175.2 kB / 1.118 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2782, allocations: 0 / 1.118 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2782, allocations: 0 / 1.118 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2783, allocations: 3.938 kB / 1.118 GB, free: 1.609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2785, allocations: 79.75 kB / 1.118 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.2786, allocations: 35.84 kB / 1.118 GB, free: 1.496 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.2787, allocations: 4 kB / 1.118 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.2787, allocations: 11.98 kB / 1.118 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.2788, allocations: 23.84 kB / 1.118 GB, free: 1.457 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2788, allocations: 0 / 1.118 GB, free: 1.457 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.2789, allocations: 47.83 kB / 1.118 GB, free: 1.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2789, allocations: 11.98 kB / 1.118 GB, free: 1.398 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.2789, allocations: 11.92 kB / 1.118 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.2791, allocations: 91.72 kB / 1.119 GB, free: 1.297 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2791, allocations: 4 kB / 1.119 GB, free: 1.293 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2791, allocations: 0 / 1.119 GB, free: 1.293 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.2791, allocations: 3.938 kB / 1.119 GB, free: 1.289 MB / 1.061 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.0005252/0.2796, allocations: 294.1 kB / 1.119 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.2797, allocations: 11.97 kB / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.2797, allocations: 4.938 kB / 1.119 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2798, allocations: 122.4 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2798, allocations: 4.312 kB / 1.119 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.2799, allocations: 8.375 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.28, allocations: 54.23 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.28, allocations: 192 / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.28, allocations: 3.938 kB / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2801, allocations: 4 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2802, allocations: 31.97 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.2804, allocations: 196.6 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.2807, allocations: 62.53 kB / 1.119 GB, free: 416 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.2807, allocations: 28.94 kB / 1.119 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2808, allocations: 3.938 kB / 1.119 GB, free: 380 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2808, allocations: 30.56 kB / 1.119 GB, free: 340 kB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2808, allocations: 0 / 1.119 GB, free: 340 kB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.02944/0.3102, allocations: 1.632 MB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3103, allocations: 55.34 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3104, allocations: 121.8 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.3104, allocations: 29.7 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3105, allocations: 80.14 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.3106, allocations: 31.73 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3108, allocations: 29.7 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3109, allocations: 310.8 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.3114, allocations: 143.9 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.3119, allocations: 143.9 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3131, allocations: 305.2 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3131, allocations: 0 / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001272/0.3143, allocations: 333.5 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3143, allocations: 8 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3143, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3144, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.3161, allocations: 67.86 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3161, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.3176, allocations: 51.94 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.3176, allocations: 4 kB / 1.123 GB, free: 12.96 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.0001653/0.3178, allocations: 113.8 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.3179, allocations: 4 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.318, allocations: 20.38 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.318, allocations: 4 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.318, allocations: 0 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.318, allocations: 3.984 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/0.3242, allocations: 0.7203 MB / 1.123 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3242, allocations: 4.062 kB / 1.123 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.3254, allocations: 55.94 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3254, allocations: 0 / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.3255, allocations: 4 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3255, allocations: 4.062 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3255, allocations: 0 / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3265, allocations: 329 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.3265, allocations: 3.953 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.3266, allocations: 7.984 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.3277, allocations: 39.95 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.3278, allocations: 11.94 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.3278, allocations: 7.984 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.3279, allocations: 91.31 kB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3279, allocations: 0 / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004161/0.3283, allocations: 99.92 kB / 1.124 GB, free: 11.37 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.0001887/0.3285, allocations: 107.2 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.3295, allocations: 247.8 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3295, allocations: 0 / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.3299, allocations: 91.89 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3302, allocations: 15.92 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3332, allocations: 298.6 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.3332, allocations: 67.34 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.3336, allocations: 51.98 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.3341, allocations: 16.5 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3341, allocations: 0 / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of Templates: time 0.01475/0.3488, allocations: 9.737 MB / 1.134 GB, free: 0.6641 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.557644616928883]