Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.0013/0.0013, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001591/0.001591, allocations: 191.7 kB / 22.23 MB, free: 5.098 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.421/1.421, 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 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.156/3.156, allocations: 496 MB / 0.7835 GB, free: 33.61 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate")
translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 69.59 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002672/0.3699, allocations: 1.498 MB / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001426/0.3713, allocations: 0.787 MB / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.3714, allocations: 0 / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3716, allocations: 139.7 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.3723, allocations: 179.5 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.3724, allocations: 75.8 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3725, allocations: 67.86 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.3726, allocations: 11.94 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.3727, allocations: 43.88 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3728, allocations: 91.77 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3728, allocations: 4 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.3732, allocations: 255.6 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3734, allocations: 103.7 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.3735, allocations: 79.28 kB / 1.311 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3739, allocations: 330.7 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3739, allocations: 3.938 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.3739, allocations: 4 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.891e-06/0.3739, allocations: 0 / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0008053/0.3747, allocations: 0.5002 MB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3748, allocations: 12.92 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.3748, allocations: 36.69 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3753, allocations: 312.9 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3753, allocations: 4.375 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3753, allocations: 4.375 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.3755, allocations: 89.97 kB / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3755, allocations: 0 / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3755, allocations: 0 / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3755, allocations: 0 / 1.312 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.3758, allocations: 103.9 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.3763, allocations: 439.7 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3765, allocations: 110.5 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3767, allocations: 52.89 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.3767, allocations: 27.73 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3767, allocations: 30.56 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3767, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0005066/0.3772, allocations: 217.3 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3773, allocations: 51.41 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.3779, allocations: 0.5366 MB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3779, allocations: 25.7 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.378, allocations: 160.1 kB / 1.313 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.378, allocations: 7.953 kB / 1.313 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.3781, allocations: 37.7 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001499/0.3782, allocations: 350.9 kB / 1.314 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3784, allocations: 91.94 kB / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3786, allocations: 98.41 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.3789, allocations: 176.7 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3789, allocations: 3.938 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004379/0.3793, allocations: 274.2 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3793, allocations: 8 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3793, allocations: 0 / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3794, allocations: 0 / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3795, allocations: 31.98 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3795, allocations: 0 / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3796, allocations: 11.92 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3796, allocations: 8 kB / 1.315 GB, free: 10.18 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 (15):
 * Single equations (assignments): 15
 * 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.0001547/0.3797, allocations: 181.6 kB / 1.315 GB, free: 9.988 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.3798, allocations: 27.81 kB / 1.315 GB, free: 9.961 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.3801, allocations: 163.8 kB / 1.315 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3801, allocations: 0 / 1.315 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3801, allocations: 4 kB / 1.315 GB, free: 9.785 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3801, allocations: 0 / 1.315 GB, free: 9.785 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3804, allocations: 252.6 kB / 1.315 GB, free: 9.496 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3804, allocations: 4.031 kB / 1.315 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.3805, allocations: 11.92 kB / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3805, allocations: 0 / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.3805, allocations: 7.938 kB / 1.315 GB, free: 9.473 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3805, allocations: 0 / 1.315 GB, free: 9.473 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3805, allocations: 0 / 1.315 GB, free: 9.473 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.3808, allocations: 259.2 kB / 1.315 GB, free: 9.203 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.3809, allocations: 39.8 kB / 1.315 GB, free: 9.164 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3809, allocations: 0 / 1.315 GB, free: 9.164 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.381, allocations: 11.98 kB / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.3811, allocations: 0 / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3811, allocations: 0 / 1.315 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0004048/0.3815, allocations: 399 kB / 1.316 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.3815, allocations: 0 / 1.316 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003611/0.3818, allocations: 79.89 kB / 1.316 GB, free: 8.691 MB / 1.014 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 (2):
 * Single equations (assignments): 2
 * 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.0002812/0.3821, allocations: 159.9 kB / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003437/0.3825, allocations: 159.8 kB / 1.316 GB, free: 8.367 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3825, allocations: 0 / 1.316 GB, free: 8.367 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.3826, allocations: 51.97 kB / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3829, allocations: 22.53 kB / 1.316 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.3837, allocations: 0.5316 MB / 1.317 GB, free: 7.738 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3841, allocations: 0.782 MB / 1.318 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.646e-05/0.3842, allocations: 34.62 kB / 1.318 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.3842, allocations: 15.44 kB / 1.318 GB, free: 6.887 MB / 1.014 GB
Notification: Performance of SimCode: time 3.7e-07/0.3842, allocations: 4 kB / 1.318 GB, free: 6.883 MB / 1.014 GB
Notification: Performance of Templates: time 0.006573/0.3908, allocations: 2.8 MB / 1.32 GB, free: 4.082 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.744323904626071]