Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_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_latest_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.0007739/0.0007739, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008837, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8.656 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3497, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001162/0.3509, allocations: 370.7 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.3514, allocations: 203.2 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.3515, allocations: 0 / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.3515, allocations: 7.875 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.3517, allocations: 0 / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3519, allocations: 63.83 kB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.352, allocations: 23.97 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.352, allocations: 8 kB / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.3521, allocations: 11.94 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3522, allocations: 35.77 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3522, allocations: 4 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3525, allocations: 107.7 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3525, allocations: 4 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.3525, allocations: 41.56 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3527, allocations: 71.94 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3527, allocations: 0 / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3527, allocations: 0 / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3527, allocations: 0 / 1.06 GB, free: 4.027 MB / 0.8106 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.0006202/0.3533, allocations: 371.6 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3534, allocations: 12.03 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3534, allocations: 0.9375 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3536, allocations: 176.3 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3536, allocations: 384 / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3537, allocations: 8.359 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3538, allocations: 66.17 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3539, allocations: 192 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3539, allocations: 7.938 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3539, allocations: 0 / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3541, allocations: 43.97 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3544, allocations: 245 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3546, allocations: 82.47 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.3547, allocations: 28.94 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3547, allocations: 3.938 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3548, allocations: 34.5 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3548, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02919/0.384, allocations: 1.761 MB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3841, allocations: 51.41 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3842, allocations: 117.8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.3843, allocations: 33.7 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3844, allocations: 84.05 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.3845, allocations: 27.64 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.3846, allocations: 14.09 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3847, allocations: 326.8 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.3852, allocations: 155.9 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.3857, allocations: 163.8 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3868, allocations: 340.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3868, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001254/0.388, allocations: 385.3 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3881, allocations: 4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3881, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3881, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.3897, allocations: 83.89 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3898, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.3912, allocations: 55.94 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.3913, allocations: 7.984 kB / 1.065 GB, free: 15.17 MB / 0.8262 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.0002187/0.3915, allocations: 117.8 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.3916, allocations: 3.984 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.3917, allocations: 20.45 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.3917, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3917, allocations: 4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3918, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/0.3981, allocations: 0.9156 MB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3981, allocations: 0 / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.3993, allocations: 67.91 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.3993, allocations: 4.422 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.3994, allocations: 11.97 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3994, allocations: 12.14 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3994, allocations: 8.062 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4004, allocations: 361 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.4005, allocations: 93.02 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.4006, allocations: 4 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4017, allocations: 51.89 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.4018, allocations: 7.984 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.4018, allocations: 7.984 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.4019, allocations: 95.27 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4019, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000415/0.4023, allocations: 92 kB / 1.067 GB, free: 13.19 MB / 0.8262 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.0002575/0.4026, allocations: 131.2 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4037, allocations: 275.8 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4037, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.4041, allocations: 120 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.4045, allocations: 13.36 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.4075, allocations: 381.8 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4078, allocations: 0.6848 MB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4083, allocations: 39.38 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4083, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.007815/0.4161, allocations: 5.14 MB / 1.073 GB, free: 6.324 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches