Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001931/0.001931, allocations: 110.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.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.002291/0.002291, allocations: 190.1 kB / 22.23 MB, free: 5.125 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.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.03 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.855/2.855, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 64.12 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7732, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001762/0.7749, allocations: 0.6348 MB / 1.275 GB, free: 3.582 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001801/0.7767, allocations: 1.291 MB / 1.276 GB, free: 2.273 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.7768, allocations: 0 / 1.276 GB, free: 2.273 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.7768, allocations: 0 / 1.276 GB, free: 2.273 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.7768, allocations: 3.938 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.7772, allocations: 83.72 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.7772, allocations: 23.92 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.7773, allocations: 0 / 1.276 GB, free: 2.164 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.7773, allocations: 8 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.7774, allocations: 23.89 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.7774, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.7776, allocations: 99.89 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.7776, allocations: 4 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.7777, allocations: 19.86 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.000151/0.7778, allocations: 62.25 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7778, allocations: 4 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.7778, allocations: 0 / 1.277 GB, free: 1.953 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.478e-06/0.7778, allocations: 0 / 1.277 GB, free: 1.953 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0004798/0.7783, allocations: 286 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7784, allocations: 8.031 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.7784, allocations: 4.938 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7785, allocations: 102.5 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7785, allocations: 8.375 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.7785, allocations: 12.27 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.7787, allocations: 57.97 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7787, allocations: 4 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7787, allocations: 4 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7787, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.7788, allocations: 19.98 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.779, allocations: 132.8 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.7791, allocations: 66.48 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.7792, allocations: 20.86 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.7795, allocations: 35.97 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.7795, allocations: 38.48 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.7795, allocations: 0 / 1.277 GB, free: 1.047 MB / 0.9669 GB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: x
2: deltax
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=17): time 0.02183/0.8013, allocations: 4.147 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.8014, allocations: 55.41 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.8015, allocations: 93.84 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.8016, allocations: 33.83 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.8016, allocations: 84.08 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8017, allocations: 63.47 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.802, allocations: 89.67 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.8021, allocations: 322.8 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.8027, allocations: 307.9 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.8033, allocations: 307.9 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.805, allocations: 0.776 MB / 1.283 GB, free: 10.64 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.805, allocations: 0 / 1.283 GB, free: 10.64 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.00174/0.8068, allocations: 0.802 MB / 1.284 GB, free: 9.836 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8068, allocations: 4 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8068, allocations: 0 / 1.284 GB, free: 9.832 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8068, allocations: 0 / 1.284 GB, free: 9.832 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.8077, allocations: 99.88 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8077, allocations: 0.9375 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.8083, allocations: 12 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.8084, allocations: 35.97 kB / 1.284 GB, free: 9.688 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (18):
 * Single equations (assignments): 18
 * 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.0002184/0.8086, allocations: 121.8 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.8087, allocations: 15.94 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.8122, allocations: 1.396 MB / 1.286 GB, free: 8.137 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8122, allocations: 4 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8122, allocations: 0 / 1.286 GB, free: 8.133 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.8123, allocations: 3.984 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.8156, allocations: 1.801 MB / 1.288 GB, free: 6.273 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8156, allocations: 0 / 1.288 GB, free: 6.273 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.8164, allocations: 111.9 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.8164, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.8165, allocations: 27.94 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.8165, allocations: 4 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8165, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.8192, allocations: 1.466 MB / 1.289 GB, free: 4.645 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.8192, allocations: 15.92 kB / 1.289 GB, free: 4.629 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8193, allocations: 11.94 kB / 1.289 GB, free: 4.617 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.8199, allocations: 12 kB / 1.289 GB, free: 4.605 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.8201, allocations: 47.94 kB / 1.289 GB, free: 4.559 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.8201, allocations: 24 kB / 1.289 GB, free: 4.535 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.269e-05/0.8202, allocations: 83.34 kB / 1.289 GB, free: 4.453 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8202, allocations: 0 / 1.289 GB, free: 4.453 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0006091/0.8208, allocations: 179.6 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (y_comp)
 * 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 (40):
 * Single equations (assignments): 40
 * 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.0005314/0.8213, allocations: 223.4 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.001383/0.8227, allocations: 0.7183 MB / 1.29 GB, free: 3.332 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8227, allocations: 0 / 1.29 GB, free: 3.332 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007152/0.8234, allocations: 403.7 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.8238, allocations: 21.97 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.8276, allocations: 0.8017 MB / 1.292 GB, free: 2.09 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.828, allocations: 0.718 MB / 1.292 GB, free: 1.34 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.001077/0.8291, allocations: 297.5 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.8297, allocations: 95.41 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB
Notification: Performance of SimCode: time 7.11e-07/0.8297, allocations: 0 / 1.293 GB, free: 0.957 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01943/0.8491, allocations: 11.75 MB / 1.304 GB, free: 5.262 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.912217334844172]