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.001649/0.001649, allocations: 105.2 kB / 15.99 MB, free: 6.355 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.001681/0.001681, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.83 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00197/0.3142, allocations: 0.6775 MB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3161, allocations: 1.392 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.3161, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.3162, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.3163, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.3169, allocations: 159.8 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3171, allocations: 55.91 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.3171, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.3172, allocations: 19.92 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3172, allocations: 23.95 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3172, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.3176, allocations: 199.7 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.3176, allocations: 7.938 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.3177, allocations: 23.86 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3179, allocations: 132 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3179, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3179, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3179, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8419 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.0004986/0.3184, allocations: 442.6 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3185, allocations: 12.03 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3185, allocations: 8.844 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.3187, allocations: 176.2 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3187, allocations: 4.375 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3187, allocations: 8.312 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3189, allocations: 93.95 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3189, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3189, allocations: 8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3189, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.168e-05/0.319, allocations: 59.95 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.3192, allocations: 173.7 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3194, allocations: 82.53 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.3195, allocations: 72.83 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3195, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3195, allocations: 38.5 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3195, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004196/0.32, allocations: 259.1 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.32, allocations: 81.11 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3202, allocations: 148 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3202, allocations: 29.7 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3203, allocations: 88.14 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3203, allocations: 7.906 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3204, allocations: 33.73 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3205, allocations: 322.8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3207, allocations: 103.9 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3208, allocations: 103.9 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3211, allocations: 273.8 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3211, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003725/0.3215, allocations: 324.8 kB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.3216, allocations: 75.38 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3216, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3216, allocations: 4.062 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3216, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3216, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3218, allocations: 11.84 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3218, allocations: 4 kB / 1.07 GB, free: 9.133 MB / 0.8419 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.0001275/0.3219, allocations: 161.2 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3219, allocations: 15.78 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.322, allocations: 8.25 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.322, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.322, allocations: 8 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.322, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3221, allocations: 173.6 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3221, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-06/0.3221, allocations: 3.938 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3222, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3222, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3222, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3222, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3225, allocations: 226.6 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.3225, allocations: 88.95 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3226, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.3226, allocations: 7.984 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.3227, allocations: 8 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3227, allocations: 7.938 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.3228, allocations: 109.4 kB / 1.07 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003002/0.3231, allocations: 63.98 kB / 1.071 GB, free: 8.152 MB / 0.8419 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.000275/0.3234, allocations: 151.2 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.3238, allocations: 374.6 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3239, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.324, allocations: 135.4 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.3242, allocations: 5.547 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.3246, allocations: 259.3 kB / 1.071 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3249, allocations: 0.6885 MB / 1.072 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3249, allocations: 11.44 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3249, allocations: 3.938 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of Templates: time 0.003603/0.3285, allocations: 1.659 MB / 1.074 GB, free: 4.785 MB / 0.8419 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=400 -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/jenkins1/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