Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 495.8 MB / 0.783 GB, free: 33.44 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite")
translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 60.53 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001866/0.3366, allocations: 0.651 MB / 1.307 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004425/0.337, allocations: 191.6 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3371, allocations: 0 / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3371, allocations: 7.938 kB / 1.308 GB, free: 0.9844 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3372, allocations: 11.92 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3374, allocations: 75.75 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.3375, allocations: 31.86 kB / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.3375, allocations: 3.984 kB / 1.308 GB, free: 0.8633 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.3376, allocations: 19.92 kB / 1.308 GB, free: 0.8438 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.3377, allocations: 15.92 kB / 1.308 GB, free: 0.8281 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3377, allocations: 4 kB / 1.308 GB, free: 0.8242 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3378, allocations: 51.88 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3378, allocations: 7.984 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.3378, allocations: 19.86 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.338, allocations: 95.66 kB / 1.308 GB, free: 0.6523 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.338, allocations: 0 / 1.308 GB, free: 0.6523 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.338, allocations: 0 / 1.308 GB, free: 0.6523 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.448e-06/0.338, allocations: 0 / 1.308 GB, free: 0.6523 MB / 0.9981 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.0005375/0.3385, allocations: 290.1 kB / 1.308 GB, free: 344 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3386, allocations: 8.031 kB / 1.308 GB, free: 336 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3386, allocations: 8.891 kB / 1.308 GB, free: 328 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3387, allocations: 118.5 kB / 1.308 GB, free: 184 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3387, allocations: 384 / 1.308 GB, free: 184 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3388, allocations: 8.312 kB / 1.308 GB, free: 176 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3389, allocations: 54.22 kB / 1.308 GB, free: 116 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3389, allocations: 4.141 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.339, allocations: 11.94 kB / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.339, allocations: 0 / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3391, allocations: 27.97 kB / 1.308 GB, free: 72 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3394, allocations: 216.1 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3397, allocations: 74.41 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.3398, allocations: 24.92 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3398, allocations: 11.92 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3398, allocations: 34.56 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3398, allocations: 0 / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.02977/0.3696, allocations: 1.605 MB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3696, allocations: 55.41 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3697, allocations: 121.8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.3698, allocations: 29.7 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.3699, allocations: 88.08 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.37, allocations: 23.81 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.3702, allocations: 25.7 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001676/0.3703, allocations: 322.8 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.3709, allocations: 147.9 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.3714, allocations: 143.9 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3724, allocations: 288.8 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3724, allocations: 4 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.001278/0.3737, allocations: 338 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3737, allocations: 4 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3737, allocations: 4.094 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3737, allocations: 7.938 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.3754, allocations: 59.97 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3754, allocations: 8 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.3769, allocations: 43.94 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.3769, allocations: 7.984 kB / 1.312 GB, free: 12.3 MB / 1.014 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.0002126/0.3772, allocations: 130.4 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.3773, allocations: 3.953 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3774, allocations: 20.38 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3774, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3774, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3774, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.3836, allocations: 0.8206 MB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3836, allocations: 4.062 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3848, allocations: 51.94 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3849, allocations: 4 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.3849, allocations: 7.922 kB / 1.313 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.3849, allocations: 7.938 kB / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3849, allocations: 0 / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.386, allocations: 325.2 kB / 1.313 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.386, allocations: 3.953 kB / 1.313 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3861, allocations: 4 kB / 1.313 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.3872, allocations: 43.89 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.3872, allocations: 11.98 kB / 1.313 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.3873, allocations: 7.938 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.314e-05/0.3874, allocations: 95.2 kB / 1.313 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3874, allocations: 0 / 1.313 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004648/0.3878, allocations: 95.94 kB / 1.314 GB, free: 10.58 MB / 1.014 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.0002717/0.3881, allocations: 115.2 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001149/0.3893, allocations: 239.8 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3893, allocations: 0 / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3897, allocations: 96.34 kB / 1.314 GB, free: 10.13 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3901, allocations: 9.719 kB / 1.314 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.3931, allocations: 298.6 kB / 1.314 GB, free: 9.801 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3935, allocations: 0.6885 MB / 1.315 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0004593/0.3939, allocations: 55.94 kB / 1.315 GB, free: 9.031 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.3944, allocations: 19.42 kB / 1.315 GB, free: 9.016 MB / 1.014 GB
Notification: Performance of SimCode: time 5.31e-07/0.3944, allocations: 0 / 1.315 GB, free: 9.016 MB / 1.014 GB
Notification: Performance of Templates: time 0.01504/0.4094, allocations: 8.855 MB / 1.324 GB, free: 116 kB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.227057787589729]