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.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.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.007085/0.007084, allocations: 98.69 kB / 15.73 MB, free: 5.547 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.001412/0.001412, allocations: 189.1 kB / 16.67 MB, free: 5.492 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.8 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.83 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001666/0.334, allocations: 0.638 MB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.3345, allocations: 203 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.3346, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.3346, allocations: 3.938 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.3348, allocations: 11.94 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.335, allocations: 71.75 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.3351, allocations: 27.97 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.3352, allocations: 4 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.3352, allocations: 23.84 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.3353, allocations: 19.92 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3353, allocations: 0 / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3355, allocations: 107.7 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.3355, allocations: 11.92 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.3356, allocations: 23.86 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3358, allocations: 99.81 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3358, allocations: 0 / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3358, allocations: 4 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3358, allocations: 0 / 1.209 GB, free: 8.367 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005234/0.3363, allocations: 363.4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3364, allocations: 8.625 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3364, allocations: 4.844 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3366, allocations: 188.2 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3366, allocations: 384 / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3366, allocations: 384 / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3368, allocations: 54.23 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3368, allocations: 192 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3368, allocations: 3.938 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3368, allocations: 3.938 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3369, allocations: 31.97 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.3372, allocations: 253 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3375, allocations: 74.41 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.3376, allocations: 20.94 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3376, allocations: 0 / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3376, allocations: 38.56 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3376, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02941/0.367, allocations: 1.616 MB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3671, allocations: 55.41 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3673, allocations: 125.7 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.3673, allocations: 25.7 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.3674, allocations: 88.14 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.3675, allocations: 31.92 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.3677, allocations: 21.7 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3679, allocations: 322.8 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.3684, allocations: 147.9 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.3689, allocations: 143.9 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3699, allocations: 292.8 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3699, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001226/0.3711, allocations: 341.4 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3711, allocations: 4 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3712, allocations: 0 / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3712, allocations: 7.984 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.3728, allocations: 55.94 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3729, allocations: 3.938 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.3743, allocations: 51.94 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.3744, allocations: 4 kB / 1.213 GB, free: 3.812 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: 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.0001583/0.3745, allocations: 113.8 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.3746, allocations: 4 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3748, allocations: 20.38 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3748, allocations: 0 / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3748, allocations: 3.984 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3748, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/0.3812, allocations: 0.8454 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3812, allocations: 0 / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.3824, allocations: 59.94 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.3824, allocations: 4 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.3825, allocations: 288 / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3825, allocations: 4.016 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.3825, allocations: 7.984 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009948/0.3835, allocations: 325 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.3836, allocations: 81.09 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.3836, allocations: 4 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.3848, allocations: 43.83 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.3848, allocations: 8 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.3849, allocations: 11.98 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.3849, allocations: 87.28 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.385, allocations: 0 / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004159/0.3854, allocations: 95.98 kB / 1.215 GB, free: 1.996 MB / 0.9669 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.0002637/0.3856, allocations: 115.2 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.3867, allocations: 251.9 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3867, allocations: 0 / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.3871, allocations: 95.89 kB / 1.215 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3874, allocations: 11.98 kB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.3903, allocations: 306.5 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3906, allocations: 0.6866 MB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.3911, allocations: 55.98 kB / 1.216 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.3915, allocations: 15.44 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3916, allocations: 0 / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of Templates: time 0.01468/0.4062, allocations: 9.162 MB / 1.225 GB, free: 7.199 MB / 0.9825 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/jenkins/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