Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.001745/0.001745, allocations: 101.8 kB / 18.83 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.002043/0.002043, allocations: 194.6 kB / 22.1 MB, free: 4.625 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.492/1.492, allocations: 225.6 MB / 250.8 MB, free: 13.03 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.263/3.263, allocations: 495.8 MB / 0.783 GB, free: 33.54 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.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic")
translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 69.72 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3893, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002882/0.3922, allocations: 1.509 MB / 1.308 GB, free: 340 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003624/0.3926, allocations: 119.7 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.3926, allocations: 7.938 kB / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.3927, allocations: 0 / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.3927, allocations: 7.875 kB / 1.308 GB, free: 204 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.393, allocations: 31.94 kB / 1.308 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.3931, allocations: 39.86 kB / 1.308 GB, free: 132 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.3932, allocations: 15.92 kB / 1.308 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.3932, allocations: 12 kB / 1.308 GB, free: 104 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.3933, allocations: 27.84 kB / 1.308 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3933, allocations: 11.94 kB / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3934, allocations: 35.97 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.3934, allocations: 11.98 kB / 1.309 GB, free: 16 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.3935, allocations: 23.89 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3936, allocations: 79.56 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3936, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.3936, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.488e-06/0.3937, allocations: 3.938 kB / 1.309 GB, free: 15.91 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0005839/0.3942, allocations: 310 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3943, allocations: 12.03 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3943, allocations: 4.891 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3944, allocations: 122.5 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3944, allocations: 4.375 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3945, allocations: 4.312 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3948, allocations: 114.2 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3948, allocations: 192 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3948, allocations: 7.938 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.3948, allocations: 11.94 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.3953, allocations: 123.9 kB / 1.309 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.3957, allocations: 311.7 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.396, allocations: 58.53 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.3961, allocations: 32.92 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.3964, allocations: 59.89 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3964, allocations: 30.56 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3964, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005996/0.397, allocations: 141.5 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3971, allocations: 55.34 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3972, allocations: 143.8 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3972, allocations: 29.7 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.3973, allocations: 127.9 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.3974, allocations: 15.89 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.3974, allocations: 29.72 kB / 1.31 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001499/0.3976, allocations: 318.8 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3977, allocations: 51.89 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.398, allocations: 112.7 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.3984, allocations: 169.2 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3984, allocations: 4 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004872/0.3989, allocations: 181.3 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3989, allocations: 12.31 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3989, allocations: 0 / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3989, allocations: 4 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3991, allocations: 43.84 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3991, allocations: 3.938 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3992, allocations: 27.88 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3992, allocations: 8 kB / 1.311 GB, free: 13.03 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (13):
 * Single equations (assignments): 13
 * 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.0001078/0.3993, allocations: 133.6 kB / 1.311 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3994, allocations: 7.953 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.3998, allocations: 118 kB / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3998, allocations: 7.938 kB / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3998, allocations: 0 / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3998, allocations: 0 / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.4, allocations: 144.7 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4001, allocations: 19.97 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4001, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4001, allocations: 4 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4001, allocations: 7.938 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4001, allocations: 0 / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.4006, allocations: 203.4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.4006, allocations: 3.953 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4006, allocations: 3.984 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4007, allocations: 15.92 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.4008, allocations: 12 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.4008, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.457e-05/0.4009, allocations: 109.9 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4009, allocations: 0 / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002652/0.4011, allocations: 19.94 kB / 1.312 GB, free: 12.16 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 (3):
 * Single equations (assignments): 3
 * 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.0001836/0.4013, allocations: 104 kB / 1.312 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004285/0.4017, allocations: 108.1 kB / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4017, allocations: 0 / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.4019, allocations: 31.97 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4022, allocations: 8.625 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.4027, allocations: 173.9 kB / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.403, allocations: 0.6885 MB / 1.313 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.928e-05/0.4031, allocations: 28.39 kB / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.4032, allocations: 19.44 kB / 1.313 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of SimCode: time 3.3e-07/0.4032, allocations: 4 kB / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of Templates: time 0.004074/0.4073, allocations: 1.03 MB / 1.314 GB, free: 9.918 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.044006031937897]