Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 215.6 kB / 22.25 MB, free: 5.129 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.0-master/package.mo): time 2.931/2.931, allocations: 0.4933 GB / 0.7984 GB, free: 33.2 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.0-master/package.mo)
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo)
Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo)
Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo)
Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction")
translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300]
"Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 69.27 kB / 1.16 GB, free: 23.38 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 177.1 MB / 1.332 GB, free: 11.92 MB / 1.029 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001931/0.3051, allocations: 0.5834 MB / 1.333 GB, free: 11.33 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.001835/0.307, allocations: 1.35 MB / 1.334 GB, free: 9.965 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.307, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.307, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.307, allocations: 3.938 kB / 1.334 GB, free: 9.961 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.3074, allocations: 70.75 kB / 1.334 GB, free: 9.895 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 3.872e-05/0.3074, allocations: 0 / 1.334 GB, free: 9.895 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.3075, allocations: 4 kB / 1.334 GB, free: 9.891 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.3075, allocations: 4 kB / 1.334 GB, free: 9.887 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.3075, allocations: 4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 7.203e-06/0.3075, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.3078, allocations: 111.9 kB / 1.335 GB, free: 9.773 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.3079, allocations: 3.984 kB / 1.335 GB, free: 9.77 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.3079, allocations: 0 / 1.335 GB, free: 9.77 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.000148/0.308, allocations: 63.81 kB / 1.335 GB, free: 9.707 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.308, allocations: 0 / 1.335 GB, free: 9.707 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.143e-06/0.308, allocations: 0 / 1.335 GB, free: 9.707 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 5.2e-06/0.308, allocations: 3.938 kB / 1.335 GB, free: 9.703 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.000301/0.3083, allocations: 262.2 kB / 1.335 GB, free: 9.418 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3084, allocations: 8.031 kB / 1.335 GB, free: 9.41 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3084, allocations: 4.938 kB / 1.335 GB, free: 9.406 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.601e-05/0.3085, allocations: 106.5 kB / 1.335 GB, free: 9.277 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3085, allocations: 384 / 1.335 GB, free: 9.277 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.3085, allocations: 4.375 kB / 1.335 GB, free: 9.273 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.004e-05/0.3086, allocations: 38 kB / 1.335 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3086, allocations: 0 / 1.335 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3086, allocations: 0 / 1.335 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3086, allocations: 0 / 1.335 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.3086, allocations: 4 kB / 1.335 GB, free: 9.227 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.3088, allocations: 116.8 kB / 1.335 GB, free: 9.07 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.3088, allocations: 22.52 kB / 1.335 GB, free: 9.039 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.3088, allocations: 4.859 kB / 1.335 GB, free: 9.031 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.3091, allocations: 48.05 kB / 1.335 GB, free: 8.984 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3092, allocations: 38.5 kB / 1.335 GB, free: 8.938 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3092, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB
Notification: Performance of matching and sorting (n=1): time 0.0001237/0.3093, allocations: 29.7 kB / 1.335 GB, free: 8.902 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3093, allocations: 55.34 kB / 1.335 GB, free: 8.836 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.3094, allocations: 89.86 kB / 1.335 GB, free: 8.738 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3094, allocations: 29.7 kB / 1.335 GB, free: 8.703 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.3094, allocations: 80.14 kB / 1.335 GB, free: 8.621 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3095, allocations: 16.06 kB / 1.336 GB, free: 8.605 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3095, allocations: 13.72 kB / 1.336 GB, free: 8.586 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001237/0.3096, allocations: 310.8 kB / 1.336 GB, free: 8.273 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.3096, allocations: 4 kB / 1.336 GB, free: 8.27 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.3096, allocations: 3.938 kB / 1.336 GB, free: 8.266 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.3097, allocations: 8.859 kB / 1.336 GB, free: 8.254 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3097, allocations: 4 kB / 1.336 GB, free: 8.25 MB / 1.029 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.335e-05/0.3097, allocations: 33.8 kB / 1.336 GB, free: 8.211 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3097, allocations: 23.86 kB / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3097, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3098, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.3098, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3098, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.3098, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3098, allocations: 4 kB / 1.336 GB, free: 8.184 MB / 1.029 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 (1):
 * Single equations (assignments): 1
 * 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 7.012e-05/0.3099, allocations: 105.8 kB / 1.336 GB, free: 8.07 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.3099, allocations: 3.938 kB / 1.336 GB, free: 8.066 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.31, allocations: 40.69 kB / 1.336 GB, free: 8.02 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.31, allocations: 4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.31, allocations: 3.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.31, allocations: 0 / 1.336 GB, free: 8.012 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.3101, allocations: 116.8 kB / 1.336 GB, free: 7.855 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3101, allocations: 0 / 1.336 GB, free: 7.855 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.3101, allocations: 4 kB / 1.336 GB, free: 7.852 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3101, allocations: 7.875 kB / 1.336 GB, free: 7.844 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3101, allocations: 8.016 kB / 1.336 GB, free: 7.836 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3101, allocations: 0 / 1.336 GB, free: 7.836 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3101, allocations: 0 / 1.336 GB, free: 7.836 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.3102, allocations: 57.14 kB / 1.336 GB, free: 7.762 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.517e-06/0.3102, allocations: 0 / 1.336 GB, free: 7.762 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3102, allocations: 3.938 kB / 1.336 GB, free: 7.758 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.3102, allocations: 0 / 1.336 GB, free: 7.758 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3102, allocations: 12.02 kB / 1.336 GB, free: 7.746 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3102, allocations: 0 / 1.336 GB, free: 7.746 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 3.011e-05/0.3103, allocations: 75.28 kB / 1.336 GB, free: 7.672 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.3103, allocations: 0 / 1.336 GB, free: 7.672 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0002156/0.3105, allocations: 11.94 kB / 1.336 GB, free: 7.66 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (1):
 * Single equations (assignments): 1
 * 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.0001659/0.3106, allocations: 113.5 kB / 1.336 GB, free: 7.539 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 6.538e-05/0.3107, allocations: 7.938 kB / 1.336 GB, free: 7.531 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3107, allocations: 0 / 1.336 GB, free: 7.531 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.3107, allocations: 12.06 kB / 1.336 GB, free: 7.52 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3109, allocations: 3.609 kB / 1.336 GB, free: 7.52 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.311, allocations: 76.88 kB / 1.337 GB, free: 7.418 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.3113, allocations: 0.6729 MB / 1.337 GB, free: 6.719 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.583e-05/0.3113, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.3113, allocations: 11.44 kB / 1.337 GB, free: 6.707 MB / 1.029 GB
Notification: Performance of SimCode: time 2.91e-07/0.3113, allocations: 0 / 1.337 GB, free: 6.707 MB / 1.029 GB
Notification: Performance of Templates: time 0.002582/0.3139, allocations: 400.7 kB / 1.338 GB, free: 6.316 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 7.8155127465724945]