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) 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.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008191/0.008191, allocations: 96.17 kB / 15.73 MB, free: 6.039 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.001729/0.001729, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00183/0.3374, allocations: 0.6206 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3394, allocations: 1.386 MB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.3395, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.764e-05/0.3395, allocations: 7.938 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.3396, allocations: 3.938 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.3403, allocations: 179.5 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3404, allocations: 43.95 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3405, allocations: 8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.3405, allocations: 15.98 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.3406, allocations: 27.91 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3406, allocations: 4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.3409, allocations: 199.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.341, allocations: 15.92 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.341, allocations: 23.8 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.3413, allocations: 183.5 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3413, allocations: 4 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3413, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3413, allocations: 4 kB / 1.223 GB, free: 11.03 MB / 0.9825 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.0004644/0.3418, allocations: 446.3 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3418, allocations: 12.03 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3419, allocations: 12.83 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.342, allocations: 176.3 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.342, allocations: 384 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.342, allocations: 4.375 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3422, allocations: 97.95 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3422, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3422, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3422, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.3423, allocations: 59.95 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.3425, allocations: 173.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3426, allocations: 74.53 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.3427, allocations: 68.89 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3427, allocations: 0 / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3427, allocations: 42.44 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3427, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003927/0.3431, allocations: 259.1 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3431, allocations: 81.11 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3433, allocations: 152 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3433, allocations: 25.7 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.3433, allocations: 92.09 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3433, allocations: 7.953 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.3434, allocations: 33.73 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3435, allocations: 318.8 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3436, allocations: 99.94 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3437, allocations: 103.9 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.344, allocations: 285.8 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.344, allocations: 0 / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003377/0.3443, allocations: 324.9 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.3444, allocations: 71.39 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3444, allocations: 144 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3444, allocations: 4.062 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-06/0.3444, allocations: 3.984 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3444, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3446, allocations: 19.89 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3446, allocations: 4 kB / 1.226 GB, free: 7.742 MB / 0.9825 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 0.0001055/0.3447, allocations: 147.5 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.3447, allocations: 15.83 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.3447, allocations: 12.25 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3447, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3447, allocations: 4 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3447, allocations: 0 / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.3448, allocations: 169.6 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3448, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-06/0.3448, allocations: 7.875 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3448, allocations: 0 / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3448, allocations: 4 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3448, allocations: 0 / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3448, allocations: 0 / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3451, allocations: 234.7 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.3451, allocations: 85 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3452, allocations: 4 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.3452, allocations: 3.984 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3453, allocations: 4 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3453, allocations: 4 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.3453, allocations: 109.4 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3453, allocations: 3.938 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000308/0.3456, allocations: 75.86 kB / 1.227 GB, free: 6.766 MB / 0.9825 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.0002727/0.3459, allocations: 151.2 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.3463, allocations: 330.6 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3463, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3464, allocations: 127.3 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3465, allocations: 7.938 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3469, allocations: 217.4 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3472, allocations: 0.6964 MB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.831e-06/0.3472, allocations: 0 / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.3472, allocations: 7.438 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3472, allocations: 0 / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of Templates: time 0.004452/0.3516, allocations: 2.055 MB / 1.231 GB, free: 3.102 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) 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) Reference file matches