Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001777/0.001777, allocations: 104 kB / 16.27 MB, free: 5.973 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.002143/0.002143, allocations: 193.3 kB / 17.2 MB, free: 5.598 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 66.67 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002715/0.3565, allocations: 0.6282 MB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.3571, allocations: 207.1 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3571, allocations: 0 / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.3572, allocations: 3.938 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3574, allocations: 7.938 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3577, allocations: 75.75 kB / 1.066 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.3578, allocations: 27.91 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.3578, allocations: 11.98 kB / 1.066 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.3579, allocations: 15.92 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.358, allocations: 23.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.358, allocations: 0 / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3582, allocations: 111.7 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.3583, allocations: 11.92 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.3583, allocations: 7.938 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.3586, allocations: 103.8 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3586, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3586, allocations: 4 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3586, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 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.0007524/0.3594, allocations: 363.7 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3594, allocations: 8.031 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.3595, allocations: 4.844 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3597, allocations: 176.4 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3597, allocations: 8.312 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3598, allocations: 4.375 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.36, allocations: 58.17 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.36, allocations: 192 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.36, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.36, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3602, allocations: 35.95 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.3605, allocations: 252.9 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3608, allocations: 70.41 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.3609, allocations: 24.94 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3609, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3609, allocations: 38.55 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3609, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.02804/0.389, allocations: 1.612 MB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3891, allocations: 55.41 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3892, allocations: 117.8 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.3893, allocations: 29.7 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.3894, allocations: 92.12 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.3895, allocations: 27.56 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3897, allocations: 25.7 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3898, allocations: 322.8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.3904, allocations: 135.9 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.3909, allocations: 151.9 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.3919, allocations: 288.8 kB / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3919, allocations: 0 / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001238/0.3932, allocations: 337.5 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3932, allocations: 4 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3932, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.3932, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.3948, allocations: 59.94 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3949, allocations: 3.984 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3962, allocations: 47.95 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.3963, allocations: 8 kB / 1.07 GB, free: 8.988 MB / 0.8419 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.000219/0.3965, allocations: 122.4 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.3966, allocations: 8.562 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3968, allocations: 24.31 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3968, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3968, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3968, allocations: 432 / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/0.4028, allocations: 0.8376 MB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4028, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.404, allocations: 59.94 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.404, allocations: 4 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.404, allocations: 7.984 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.4041, allocations: 11.88 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4041, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.405, allocations: 317.2 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.4051, allocations: 81.02 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.4052, allocations: 8 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.4063, allocations: 39.89 kB / 1.072 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.4063, allocations: 7.984 kB / 1.072 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.4064, allocations: 8 kB / 1.072 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.315e-05/0.4064, allocations: 99.2 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4064, allocations: 0 / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004401/0.4069, allocations: 92 kB / 1.072 GB, free: 7.164 MB / 0.8419 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.0002914/0.4072, allocations: 123.8 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.4082, allocations: 247.8 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4083, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.4087, allocations: 95.88 kB / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.409, allocations: 9.719 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4119, allocations: 328.3 kB / 1.072 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.4123, allocations: 0.6885 MB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.4127, allocations: 15.42 kB / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of SimCode: time 8.52e-07/0.4127, allocations: 4 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of Templates: time 0.008937/0.4216, allocations: 5.049 MB / 1.078 GB, free: 0.5117 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches