Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001908/0.001908, allocations: 106 kB / 18.84 MB, free: 3.023 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.002271/0.002271, allocations: 192 kB / 22.1 MB, free: 4.223 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.451/1.451, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.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.083/3.083, allocations: 495.8 MB / 0.783 GB, free: 12.28 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite")
translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9579/0.9599, allocations: 173.6 MB / 1.307 GB, free: 33.84 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001713/0.9616, allocations: 0.6228 MB / 1.307 GB, free: 33.45 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001574/0.9632, allocations: 1.404 MB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.9632, allocations: 0 / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 5.871e-05/0.9633, allocations: 3.938 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.9633, allocations: 3.125 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.964, allocations: 189.9 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001116/0.9641, allocations: 45.86 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.9642, allocations: 4 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.9642, allocations: 15.22 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.9643, allocations: 27.42 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.9643, allocations: 2.875 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.9647, allocations: 227.2 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.9647, allocations: 12.84 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.9647, allocations: 20.47 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.965, allocations: 192.5 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.965, allocations: 0 / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.214e-06/0.965, allocations: 7.938 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.461e-05/0.9651, allocations: 3.938 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0005644/0.9656, allocations: 371.4 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9657, allocations: 8.188 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.9657, allocations: 10.67 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.9658, allocations: 117.2 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9658, allocations: 6.625 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.9659, allocations: 7.031 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.966, allocations: 98.14 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.966, allocations: 2.656 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.966, allocations: 4 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.966, allocations: 0 / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.9661, allocations: 60.91 kB / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.9662, allocations: 146.5 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.9664, allocations: 77.8 kB / 1.31 GB, free: 31.45 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.9664, allocations: 61.69 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.9664, allocations: 6.844 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.9665, allocations: 37.83 kB / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9665, allocations: 0 / 1.31 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4): time 0.0003994/0.9669, allocations: 256.2 kB / 1.311 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.9669, allocations: 83.45 kB / 1.311 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.967, allocations: 146 kB / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.967, allocations: 25.7 kB / 1.311 GB, free: 31.07 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.9671, allocations: 100.7 kB / 1.311 GB, free: 30.97 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.9671, allocations: 11.92 kB / 1.311 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.9672, allocations: 31.31 kB / 1.311 GB, free: 30.94 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.395e-05/0.9672, allocations: 314.8 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.9673, allocations: 105.5 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.9674, allocations: 100 kB / 1.312 GB, free: 30.6 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.9676, allocations: 273.8 kB / 1.312 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9676, allocations: 0 / 1.312 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002768/0.9679, allocations: 326.5 kB / 1.312 GB, free: 30.33 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.968, allocations: 76.81 kB / 1.312 GB, free: 30.27 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.968, allocations: 4 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.968, allocations: 0 / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.968, allocations: 0 / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.968, allocations: 0 / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.9682, allocations: 13.42 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.9682, allocations: 5.625 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (i)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 2
 * 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 7.897e-05/0.9683, allocations: 155 kB / 1.312 GB, free: 30.1 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.9683, allocations: 13.77 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.9683, allocations: 8.344 kB / 1.312 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9683, allocations: 0 / 1.312 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9683, allocations: 11.88 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9683, allocations: 2.969 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.067e-05/0.9684, allocations: 144.8 kB / 1.313 GB, free: 29.91 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9684, allocations: 0 / 1.313 GB, free: 29.91 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.9684, allocations: 3.938 kB / 1.313 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.9684, allocations: 0 / 1.313 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9684, allocations: 2.531 kB / 1.313 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9684, allocations: 0 / 1.313 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9684, allocations: 2.656 kB / 1.313 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.9686, allocations: 231.1 kB / 1.313 GB, free: 29.78 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.9686, allocations: 10.86 kB / 1.313 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.9686, allocations: 2.906 kB / 1.313 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.9687, allocations: 6.25 kB / 1.313 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.9688, allocations: 9.984 kB / 1.313 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.9688, allocations: 2.906 kB / 1.313 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.996e-05/0.9688, allocations: 108.8 kB / 1.313 GB, free: 29.69 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/0.9688, allocations: 4.031 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002784/0.9691, allocations: 62.25 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (i)
 * Number of discrete states: 1 (i)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002477/0.9694, allocations: 146.3 kB / 1.313 GB, free: 29.58 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003132/0.9697, allocations: 331.4 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9697, allocations: 2.844 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.9698, allocations: 123.4 kB / 1.314 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.97, allocations: 6.562 kB / 1.314 GB, free: 29.35 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.9703, allocations: 216.5 kB / 1.314 GB, free: 29.21 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.9704, allocations: 0.6899 MB / 1.314 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 8.465e-06/0.9704, allocations: 6.812 kB / 1.314 GB, free: 28.52 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.9705, allocations: 7.438 kB / 1.314 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of SimCode: time 3.1e-07/0.9705, allocations: 0 / 1.314 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of Templates: time 0.005102/0.9756, allocations: 2.086 MB / 1.317 GB, free: 28.34 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.200211896561086]