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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 461.8 MB / 0.7348 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.56 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002156/0.3345, allocations: 0.6931 MB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005412/0.3351, allocations: 203.1 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.3351, allocations: 3.938 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.3352, allocations: 3.938 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3354, allocations: 7.984 kB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3356, allocations: 67.83 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.3357, allocations: 27.92 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.3357, allocations: 4 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.3358, allocations: 19.91 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.3359, allocations: 23.86 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3359, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3361, allocations: 107.7 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.3361, allocations: 7.984 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.3361, allocations: 19.86 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3363, allocations: 67.92 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3363, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3363, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3363, allocations: 4 kB / 1.054 GB, free: 7.082 MB / 0.8106 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.0005582/0.3369, allocations: 371.6 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3369, allocations: 12.03 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.337, allocations: 0.9375 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3371, allocations: 168.3 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3371, allocations: 8.359 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3372, allocations: 384 / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3373, allocations: 58.17 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3374, allocations: 4.188 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3374, allocations: 7.938 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3374, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3375, allocations: 27.97 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.3378, allocations: 248.8 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3381, allocations: 74.53 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.59e-05/0.3381, allocations: 24.94 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3382, allocations: 11.88 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3382, allocations: 30.56 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3382, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02945/0.3677, allocations: 1.609 MB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3678, allocations: 51.41 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3679, allocations: 117.8 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.368, allocations: 30.08 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.368, allocations: 88.05 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3681, allocations: 31.62 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3683, allocations: 25.7 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3684, allocations: 326.7 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.369, allocations: 139.9 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.3694, allocations: 143.9 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.3704, allocations: 296.8 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3704, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001212/0.3717, allocations: 341.4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3717, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.3717, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3717, allocations: 96 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.3733, allocations: 67.91 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3734, allocations: 4.062 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3747, allocations: 47.94 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.3748, allocations: 12 kB / 1.058 GB, free: 2.527 MB / 0.8106 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.0001925/0.375, allocations: 113.8 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.3751, allocations: 7.906 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3753, allocations: 16.38 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3753, allocations: 4 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3753, allocations: 0 / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3753, allocations: 7.922 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/0.381, allocations: 0.8338 MB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.381, allocations: 0 / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3822, allocations: 52.22 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3822, allocations: 0 / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.3822, allocations: 12 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3822, allocations: 7.875 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3822, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.3832, allocations: 329 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3833, allocations: 89 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.3833, allocations: 0 / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3844, allocations: 47.89 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.3844, allocations: 4 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.3844, allocations: 7.984 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.3845, allocations: 87.28 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3845, allocations: 4 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004197/0.3849, allocations: 99.98 kB / 1.06 GB, free: 0.707 MB / 0.8106 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.0002537/0.3852, allocations: 111.2 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.3862, allocations: 239.9 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3862, allocations: 4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.3867, allocations: 95.89 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.387, allocations: 4 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3896, allocations: 346.1 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3899, allocations: 0.6887 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/0.3904, allocations: 19.42 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3904, allocations: 0 / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.007695/0.3981, allocations: 5.044 MB / 1.066 GB, free: 10.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) 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) Reference file matches