Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_10_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_10_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.001018/0.001018, allocations: 99.5 kB / 16.02 MB, free: 76 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.001853/0.001853, allocations: 182.9 kB / 16.92 MB, free: 6.914 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6548, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.000717/0.6556, allocations: 377.3 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.6561, allocations: 199.2 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.6561, allocations: 3.938 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.6561, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.6563, allocations: 3.984 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.6565, allocations: 71.77 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.6565, allocations: 27.91 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.6566, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.6566, allocations: 15.92 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.6567, allocations: 19.92 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6567, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.6569, allocations: 111.7 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.6569, allocations: 11.97 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.6569, allocations: 37.58 kB / 1.025 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.6571, allocations: 67.92 kB / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6571, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6571, allocations: 4 kB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6571, allocations: 4 kB / 1.025 GB, free: 14.91 MB / 0.7794 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.0004662/0.6576, allocations: 361.5 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6576, allocations: 8.031 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.6576, allocations: 8.844 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.6578, allocations: 176.2 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6578, allocations: 4.375 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.6578, allocations: 8.375 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.658, allocations: 58.17 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.658, allocations: 4.188 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.658, allocations: 3.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.658, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.6582, allocations: 47.95 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.6585, allocations: 245 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.6587, allocations: 86.41 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.6588, allocations: 28.94 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6588, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6589, allocations: 38.55 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.6589, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.02986/0.6887, allocations: 1.749 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6888, allocations: 63.34 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.6889, allocations: 117.7 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.689, allocations: 29.7 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.6891, allocations: 96.12 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.6892, allocations: 23.61 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.6893, allocations: 13.72 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6894, allocations: 326.8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.6899, allocations: 163.8 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.6904, allocations: 159.9 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.6915, allocations: 328.8 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6915, allocations: 4 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001262/0.6928, allocations: 389.3 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6928, allocations: 5.875 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6928, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6928, allocations: 0.6562 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.6946, allocations: 79.89 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6946, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.6961, allocations: 47.95 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.6962, allocations: 11.97 kB / 1.029 GB, free: 10.05 MB / 0.7794 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.0002068/0.6964, allocations: 121.7 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.6965, allocations: 4 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.6967, allocations: 24.73 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6967, allocations: 0 / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6967, allocations: 4 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.6967, allocations: 3.984 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/0.7029, allocations: 0.9079 MB / 1.03 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.703, allocations: 3.984 kB / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.7042, allocations: 71.89 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.7042, allocations: 4.062 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.7043, allocations: 11.98 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.7043, allocations: 7.875 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7043, allocations: 0 / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.7053, allocations: 373 kB / 1.031 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.7053, allocations: 89.05 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.7054, allocations: 4 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.7066, allocations: 55.94 kB / 1.031 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.7066, allocations: 4 kB / 1.031 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.7066, allocations: 11.97 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.7067, allocations: 95.22 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7067, allocations: 4 kB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004251/0.7071, allocations: 95.98 kB / 1.031 GB, free: 8.062 MB / 0.7794 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.0002488/0.7074, allocations: 115.2 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.7085, allocations: 283.8 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7085, allocations: 4 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.7089, allocations: 116 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.7093, allocations: 8 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.7123, allocations: 382 kB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.7125, allocations: 0.6815 MB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.713, allocations: 39.36 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.713, allocations: 0 / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.008962/0.722, allocations: 5.14 MB / 1.038 GB, free: 1.211 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches