Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_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.008523/0.008523, allocations: 104.8 kB / 15.74 MB, free: 6.035 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.001903/0.001903, allocations: 199.2 kB / 16.67 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 60.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2992, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002446/0.3017, allocations: 0.6186 MB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.304, allocations: 1.388 MB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3041, allocations: 4 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.3042, allocations: 4 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.3042, allocations: 3.938 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.305, allocations: 178.1 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3052, allocations: 43.97 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3053, allocations: 7.984 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.3053, allocations: 15.98 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.3054, allocations: 31.91 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3054, allocations: 4 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.3058, allocations: 199.7 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.3059, allocations: 15.86 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.3059, allocations: 19.88 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.3063, allocations: 191.6 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3063, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3063, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3063, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 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.0006252/0.307, allocations: 446.7 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.307, allocations: 12.62 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.3071, allocations: 4.844 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3073, allocations: 178.1 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3073, allocations: 12.31 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3073, allocations: 4.375 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.3075, allocations: 97.89 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3076, allocations: 4 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3076, allocations: 0 / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3076, allocations: 0 / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.3077, allocations: 63.95 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.3079, allocations: 177.6 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.308, allocations: 78.53 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.3081, allocations: 68.89 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.3081, allocations: 0 / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3082, allocations: 38.5 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3082, allocations: 3.938 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004291/0.3086, allocations: 251.3 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3087, allocations: 85.09 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3088, allocations: 143.2 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3089, allocations: 29.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.3089, allocations: 92.12 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.309, allocations: 7.812 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.309, allocations: 33.64 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3091, allocations: 322.9 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3093, allocations: 103.9 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3094, allocations: 99.94 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3097, allocations: 281.8 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3097, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003559/0.3101, allocations: 324.8 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.3101, allocations: 67.39 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3101, allocations: 0 / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3102, allocations: 0 / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.3102, allocations: 3.984 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3102, allocations: 4.062 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3103, allocations: 11.94 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3104, allocations: 8 kB / 1.213 GB, free: 3.637 MB / 0.9669 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.0001199/0.3105, allocations: 147.5 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3105, allocations: 11.84 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.3105, allocations: 8.25 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3105, allocations: 7.922 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3106, allocations: 0 / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3106, allocations: 0 / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3107, allocations: 173.8 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3107, allocations: 3.984 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.3107, allocations: 7.875 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3107, allocations: 3.984 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3107, allocations: 4 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3107, allocations: 0 / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3107, allocations: 0 / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.311, allocations: 230.6 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3111, allocations: 88.98 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3111, allocations: 8 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.3111, allocations: 0 / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.3112, allocations: 7.984 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3112, allocations: 4 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.863e-05/0.3113, allocations: 108.8 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3113, allocations: 0 / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002944/0.3116, allocations: 60 kB / 1.214 GB, free: 2.668 MB / 0.9669 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.000297/0.3119, allocations: 155.2 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.3124, allocations: 374.6 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3124, allocations: 0 / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3125, allocations: 135.3 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3127, allocations: 4.109 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3131, allocations: 229.3 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3134, allocations: 0.6885 MB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.464e-06/0.3134, allocations: 0 / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.3134, allocations: 11.56 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3134, allocations: 0 / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of Templates: time 0.005022/0.3185, allocations: 2.055 MB / 1.218 GB, free: 14.94 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches