Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false)
Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00114/0.00114, allocations: 111 kB / 15.99 MB, free: 6.344 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.001179/0.001179, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.2 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB
Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 69.95 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2904, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002739/0.2932, allocations: 0.6979 MB / 0.9505 GB, free: 8.477 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.0005513/0.2938, allocations: 201.3 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.2938, allocations: 0 / 0.9507 GB, free: 8.281 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.2939, allocations: 0 / 0.9507 GB, free: 8.281 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.2941, allocations: 7.938 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2944, allocations: 67.88 kB / 0.9507 GB, free: 8.207 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.2945, allocations: 31.86 kB / 0.9508 GB, free: 8.176 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.2946, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.2946, allocations: 23.91 kB / 0.9508 GB, free: 8.152 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.2947, allocations: 15.92 kB / 0.9508 GB, free: 8.137 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2947, allocations: 4 kB / 0.9508 GB, free: 8.133 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2949, allocations: 107.7 kB / 0.9509 GB, free: 8.027 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.295, allocations: 11.98 kB / 0.9509 GB, free: 8.016 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.295, allocations: 11.86 kB / 0.9509 GB, free: 8.004 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2952, allocations: 75.88 kB / 0.951 GB, free: 7.93 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2952, allocations: 0 / 0.951 GB, free: 7.93 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.903e-06/0.2952, allocations: 0 / 0.951 GB, free: 7.93 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 6.202e-06/0.2952, allocations: 0 / 0.951 GB, free: 7.93 MB / 0.7325 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.0006668/0.2959, allocations: 367.6 kB / 0.9513 GB, free: 7.52 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2959, allocations: 12.02 kB / 0.9514 GB, free: 7.508 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.296, allocations: 4.938 kB / 0.9514 GB, free: 7.504 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2962, allocations: 168.3 kB / 0.9515 GB, free: 7.301 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2962, allocations: 8.375 kB / 0.9515 GB, free: 7.293 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2962, allocations: 4.375 kB / 0.9515 GB, free: 7.289 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2964, allocations: 54.22 kB / 0.9516 GB, free: 7.23 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2964, allocations: 192 / 0.9516 GB, free: 7.23 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2964, allocations: 3.938 kB / 0.9516 GB, free: 7.227 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2965, allocations: 7.984 kB / 0.9516 GB, free: 7.219 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.2966, allocations: 35.91 kB / 0.9516 GB, free: 7.184 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.297, allocations: 245 kB / 0.9519 GB, free: 6.895 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.2972, allocations: 66.47 kB / 0.9519 GB, free: 6.82 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.2973, allocations: 28.92 kB / 0.952 GB, free: 6.789 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2973, allocations: 0 / 0.952 GB, free: 6.789 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2973, allocations: 38.56 kB / 0.952 GB, free: 6.742 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2973, allocations: 3.938 kB / 0.952 GB, free: 6.738 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=8): time 0.03063/0.328, allocations: 1.612 MB / 0.9536 GB, free: 5.117 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.3281, allocations: 51.41 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3282, allocations: 125.8 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.3283, allocations: 25.7 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.3284, allocations: 88.05 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.3285, allocations: 35.56 kB / 0.9539 GB, free: 4.766 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.3287, allocations: 21.72 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001312/0.3289, allocations: 322.8 kB / 0.9542 GB, free: 4.414 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.3294, allocations: 143.9 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.3298, allocations: 143.9 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.3308, allocations: 296.7 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3308, allocations: 0 / 0.9548 GB, free: 3.84 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.001141/0.3319, allocations: 334 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.332, allocations: 8 kB / 0.9551 GB, free: 3.5 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.332, allocations: 4 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.332, allocations: 0 / 0.9551 GB, free: 3.496 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.3336, allocations: 67.95 kB / 0.9552 GB, free: 3.43 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3337, allocations: 3.938 kB / 0.9552 GB, free: 3.426 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.335, allocations: 47.95 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.3351, allocations: 4.062 kB / 0.9552 GB, free: 3.375 MB / 0.7325 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.0001956/0.3353, allocations: 117.8 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.3354, allocations: 7.906 kB / 0.9553 GB, free: 3.242 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.3356, allocations: 20.36 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3356, allocations: 0 / 0.9554 GB, free: 3.223 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3356, allocations: 4 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3356, allocations: 0 / 0.9554 GB, free: 3.219 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/0.3413, allocations: 0.8375 MB / 0.9562 GB, free: 2.316 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3414, allocations: 7.984 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.3425, allocations: 60 kB / 0.9562 GB, free: 2.25 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3425, allocations: 0 / 0.9562 GB, free: 2.25 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.3426, allocations: 4 kB / 0.9562 GB, free: 2.246 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.3426, allocations: 3.938 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3426, allocations: 0 / 0.9563 GB, free: 2.242 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.3435, allocations: 329 kB / 0.9566 GB, free: 1.898 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3436, allocations: 85.02 kB / 0.9566 GB, free: 1.797 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.3437, allocations: 0 / 0.9566 GB, free: 1.797 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.3447, allocations: 47.88 kB / 0.9567 GB, free: 1.75 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.3448, allocations: 4.422 kB / 0.9567 GB, free: 1.746 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.3448, allocations: 4 kB / 0.9567 GB, free: 1.742 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 6.544e-05/0.3449, allocations: 103.2 kB / 0.9568 GB, free: 1.641 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 2.31e-07/0.3449, allocations: 0 / 0.9568 GB, free: 1.641 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0004267/0.3453, allocations: 92 kB / 0.9569 GB, free: 1.551 MB / 0.7325 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.0002679/0.3456, allocations: 115.2 kB / 0.957 GB, free: 1.426 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0009619/0.3466, allocations: 243.8 kB / 0.9572 GB, free: 1.188 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3466, allocations: 0 / 0.9572 GB, free: 1.188 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.347, allocations: 99.88 kB / 0.9573 GB, free: 1.09 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3473, allocations: 4.469 kB / 0.9573 GB, free: 1.086 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.35, allocations: 348.2 kB / 0.9577 GB, free: 0.707 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3503, allocations: 0.6846 MB / 0.9583 GB, free: 16 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.3508, allocations: 19.42 kB / 0.9583 GB, free: 15.98 MB / 0.7481 GB
Notification: Performance of SimCode: time 2.4e-07/0.3508, allocations: 4 kB / 0.9584 GB, free: 15.97 MB / 0.7481 GB
Notification: Performance of Templates: time 0.009009/0.3598, allocations: 5.053 MB / 0.9633 GB, free: 10.88 MB / 0.7481 GB
make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile
(rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)
diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches