Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_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_10_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.001657/0.001657, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.711 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 64.31 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3035, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002074/0.3056, allocations: 0.6408 MB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004709/0.3061, allocations: 203 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.3061, allocations: 0 / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.3062, allocations: 0 / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.3064, allocations: 19.92 kB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3066, allocations: 71.75 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.3067, allocations: 23.92 kB / 1.019 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.3068, allocations: 7.984 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.3068, allocations: 15.92 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.3069, allocations: 23.91 kB / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3069, allocations: 0 / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3071, allocations: 107.7 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3071, allocations: 3.984 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3072, allocations: 19.86 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3074, allocations: 111.8 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3074, allocations: 4 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3074, allocations: 0 / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3074, allocations: 0 / 1.019 GB, free: 9.348 MB / 0.795 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.0005464/0.3079, allocations: 371.6 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.308, allocations: 8.922 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.308, allocations: 4.938 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3082, allocations: 168.3 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3082, allocations: 4.375 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3082, allocations: 384 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3084, allocations: 66.16 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3084, allocations: 192 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3084, allocations: 3.938 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3085, allocations: 0 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3086, allocations: 35.91 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3089, allocations: 248.9 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3091, allocations: 70.56 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.3092, allocations: 32.77 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3093, allocations: 3.938 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3093, allocations: 34.56 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3093, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.02883/0.3381, allocations: 1.609 MB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3382, allocations: 51.41 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3383, allocations: 121.8 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.3384, allocations: 33.7 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.3385, allocations: 84.05 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.3386, allocations: 27.64 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3388, allocations: 25.72 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.3389, allocations: 318.8 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.3394, allocations: 143.9 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3399, allocations: 147.9 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3409, allocations: 288.8 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3409, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001212/0.3422, allocations: 346 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3422, allocations: 4.094 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3422, allocations: 3.938 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3422, allocations: 4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.3439, allocations: 59.92 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3439, allocations: 0 / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3453, allocations: 51.95 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.3454, allocations: 7.984 kB / 1.023 GB, free: 4.797 MB / 0.795 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.0001745/0.3456, allocations: 118.4 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.3457, allocations: 3.906 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.3458, allocations: 16.38 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3458, allocations: 4 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3458, allocations: 0 / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3458, allocations: 3.938 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/0.3518, allocations: 0.8494 MB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3518, allocations: 0 / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.3531, allocations: 60 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3531, allocations: 0 / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.3531, allocations: 0 / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3531, allocations: 7.938 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3531, allocations: 0 / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.3541, allocations: 325 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3542, allocations: 81.02 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.3542, allocations: 4 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.3554, allocations: 47.88 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.3554, allocations: 4 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3555, allocations: 8 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.3555, allocations: 91.27 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3555, allocations: 0 / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004063/0.3559, allocations: 99.98 kB / 1.025 GB, free: 2.977 MB / 0.795 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.0002151/0.3562, allocations: 115.2 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.3572, allocations: 259.8 kB / 1.025 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3572, allocations: 480 / 1.025 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.3576, allocations: 87.95 kB / 1.025 GB, free: 2.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.358, allocations: 8 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3609, allocations: 324.4 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3611, allocations: 0.6899 MB / 1.026 GB, free: 1.438 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.3616, allocations: 15.42 kB / 1.026 GB, free: 1.422 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3616, allocations: 4 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of Templates: time 0.007488/0.3691, allocations: 5.047 MB / 1.031 GB, free: 12.34 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches