Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001968/0.001968, allocations: 110 kB / 18.93 MB, free: 2.945 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.002251/0.002251, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 55.91 kB / 1.11 GB, free: 6.27 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8122, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001926/0.8142, allocations: 0.621 MB / 1.275 GB, free: 3.543 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.00217/0.8163, allocations: 1.408 MB / 1.276 GB, free: 2.117 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.8164, allocations: 0 / 1.276 GB, free: 2.117 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 6.18e-05/0.8164, allocations: 0 / 1.276 GB, free: 2.117 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.8165, allocations: 3.938 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.8173, allocations: 179.5 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001373/0.8174, allocations: 59.88 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.8174, allocations: 0 / 1.277 GB, free: 1.879 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.8175, allocations: 15.98 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.8176, allocations: 27.91 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.8176, allocations: 0 / 1.277 GB, free: 1.836 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.818, allocations: 227.7 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.8181, allocations: 19.92 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.8181, allocations: 15.88 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.8184, allocations: 197.9 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8184, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.593e-06/0.8184, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.422e-06/0.8185, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 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.0004917/0.8189, allocations: 369.2 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.819, allocations: 8.031 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.819, allocations: 8.891 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.8192, allocations: 126.3 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.8192, allocations: 8.312 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.8192, allocations: 4.375 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.8194, allocations: 97.95 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8194, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8194, allocations: 4 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.8194, allocations: 0 / 1.278 GB, free: 0.707 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.8195, allocations: 63.95 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.8197, allocations: 140.8 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8198, allocations: 82.45 kB / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.8199, allocations: 68.89 kB / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.8199, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.82, allocations: 34.5 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.82, allocations: 0 / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=4): time 0.0004309/0.8204, allocations: 255.2 kB / 1.278 GB, free: 0 / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.8205, allocations: 81.11 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.8206, allocations: 143.8 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.8206, allocations: 29.7 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.8207, allocations: 104.1 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.8207, allocations: 11.83 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.8208, allocations: 29.7 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001455/0.8209, allocations: 318.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.8211, allocations: 103.9 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.8212, allocations: 99.94 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.8215, allocations: 273.8 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8215, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003853/0.8219, allocations: 328.8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/0.822, allocations: 71.39 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.822, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.822, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.822, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.822, allocations: 3.938 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.8222, allocations: 15.88 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.8222, allocations: 4 kB / 1.28 GB, free: 14.31 MB / 0.9825 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 0.0001345/0.8223, allocations: 153.7 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.8224, allocations: 15.92 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.8224, allocations: 8.344 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8224, allocations: 3.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8224, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8224, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.8225, allocations: 144.7 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8225, allocations: 4 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-06/0.8225, allocations: 3.938 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8225, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.8225, allocations: 7.984 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8225, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8225, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.8229, allocations: 224.3 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.8229, allocations: 11.88 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.8229, allocations: 4 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.8229, allocations: 3.938 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.823, allocations: 11.98 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.823, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.872e-05/0.8231, allocations: 113.4 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.8231, allocations: 0 / 1.281 GB, free: 13.53 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003196/0.8234, allocations: 63.94 kB / 1.281 GB, free: 13.46 MB / 0.9825 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.0002934/0.8237, allocations: 151.1 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000449/0.8242, allocations: 326.7 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8242, allocations: 3.938 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.8243, allocations: 123.3 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.8245, allocations: 12.12 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.825, allocations: 217.3 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.8253, allocations: 0.6963 MB / 1.282 GB, free: 11.86 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 6.181e-06/0.8253, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.8253, allocations: 7.438 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/0.8253, allocations: 0 / 1.282 GB, free: 11.85 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005844/0.8312, allocations: 2.076 MB / 1.284 GB, free: 9.781 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.823667929507792]