Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB 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: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.39 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3011, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002719/0.3039, allocations: 1.537 MB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002975/0.3042, allocations: 115.7 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.3043, allocations: 4 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.3043, allocations: 11.92 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.3044, allocations: 3.938 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.3046, allocations: 27.95 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.3047, allocations: 51.8 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.3048, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.3049, allocations: 19.92 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.3049, allocations: 27.91 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3049, allocations: 4 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.305, allocations: 35.97 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.3051, allocations: 15.92 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.3051, allocations: 19.88 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3052, allocations: 71.77 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3053, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3053, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3053, allocations: 3.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 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.0005309/0.3058, allocations: 391.5 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3059, allocations: 8.625 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3059, allocations: 8.844 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.306, allocations: 180.2 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.306, allocations: 4.375 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3061, allocations: 8.375 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3064, allocations: 108.5 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3064, allocations: 4.188 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3064, allocations: 3.938 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.3064, allocations: 15.98 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3068, allocations: 123.8 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3072, allocations: 344.6 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3074, allocations: 58.53 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3076, allocations: 40.91 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.3079, allocations: 125.1 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3079, allocations: 38.56 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3079, allocations: 4 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005497/0.3085, allocations: 133.4 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.3085, allocations: 59.33 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3087, allocations: 147.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3087, allocations: 25.7 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.3088, allocations: 127.6 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3088, allocations: 11.89 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3088, allocations: 25.72 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3089, allocations: 322.8 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3091, allocations: 43.95 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3093, allocations: 109.4 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.3097, allocations: 173.2 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3097, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004356/0.3102, allocations: 185.4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3102, allocations: 8 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3102, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3102, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3104, allocations: 39.91 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3104, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3105, allocations: 23.83 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3106, allocations: 12.12 kB / 1.057 GB, free: 3.641 MB / 0.8106 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 9.768e-05/0.3107, allocations: 129.8 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3107, allocations: 7.906 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.3111, allocations: 117.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3111, allocations: 3.938 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3111, allocations: 3.938 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3111, allocations: 3.938 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3113, allocations: 177.6 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3113, allocations: 4 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.3114, allocations: 15.97 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3114, allocations: 0 / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3114, allocations: 4 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3114, allocations: 11.94 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3114, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3118, allocations: 195.4 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.3119, allocations: 81.34 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3119, allocations: 7.984 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.312, allocations: 15.92 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3121, allocations: 7.938 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3121, allocations: 0 / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.3122, allocations: 112.7 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3122, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002682/0.3124, allocations: 16 kB / 1.058 GB, free: 2.641 MB / 0.8106 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.0001516/0.3126, allocations: 107.2 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.313, allocations: 111.8 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.313, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3132, allocations: 36.58 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3135, allocations: 12 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.3138, allocations: 173.9 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3141, allocations: 0.6885 MB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.3142, allocations: 32.41 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.3142, allocations: 11.44 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3142, allocations: 0 / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of Templates: time 0.003076/0.3173, allocations: 0.856 MB / 1.06 GB, free: 0.5703 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches