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.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.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.001792/0.001792, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001943/0.001943, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 461.7 MB / 0.7352 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 64.14 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8856, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001724/0.8874, allocations: 0.618 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.8894, allocations: 1.377 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.8894, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.072e-05/0.8895, allocations: 7.922 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.8896, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.8904, allocations: 187.5 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.8905, allocations: 47.91 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.8905, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.8906, allocations: 15.98 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.8906, allocations: 23.91 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.8907, allocations: 4 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.891, allocations: 207.7 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.8911, allocations: 15.88 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.8911, allocations: 23.86 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.8914, allocations: 183.6 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8914, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.989e-06/0.8915, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8915, allocations: 3.938 kB / 1.211 GB, free: 10.91 MB / 0.9356 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.0005391/0.892, allocations: 436.3 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.8921, allocations: 12.03 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.8921, allocations: 4.844 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.8923, allocations: 173.8 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.8923, allocations: 8.375 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8923, allocations: 4.375 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.8925, allocations: 105.9 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8925, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8925, allocations: 4 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8925, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.8926, allocations: 59.95 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.8928, allocations: 177.6 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.8929, allocations: 74.53 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.893, allocations: 80.81 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.893, allocations: 4 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.8931, allocations: 38.5 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.8931, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003724/0.8934, allocations: 255.1 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8935, allocations: 77.11 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.8936, allocations: 147.9 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.8936, allocations: 29.7 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.8937, allocations: 92.17 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.8937, allocations: 19.73 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.8938, allocations: 25.72 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8939, allocations: 322.8 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.894, allocations: 99.94 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.8941, allocations: 103.9 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.8944, allocations: 273.8 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8944, allocations: 0 / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003209/0.8947, allocations: 324.9 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.8948, allocations: 79.39 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8948, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8948, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.8948, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8948, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.895, allocations: 11.89 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.895, allocations: 7.938 kB / 1.214 GB, free: 7.637 MB / 0.9356 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.0001044/0.8951, allocations: 153.3 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.8951, allocations: 11.84 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.8951, allocations: 12.25 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.8951, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8952, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.8952, allocations: 81.02 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.8952, allocations: 7.984 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.8953, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.8953, allocations: 7.984 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002749/0.8956, allocations: 333.9 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003539/0.896, allocations: 372.3 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001013/0.8961, allocations: 80.08 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.8962, allocations: 115.2 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of Backend: time 2.9e-07/0.8962, allocations: 0 / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.8969, allocations: 437.5 kB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004799/0.8974, allocations: 0.6458 MB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.004818/0.9023, allocations: 2.059 MB / 1.218 GB, free: 3.188 MB / 0.9356 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/jenkins1/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