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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001461/0.001461, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.002037/0.002038, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.5 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3023, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003242/0.3056, allocations: 1.497 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.306, allocations: 128.4 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.3061, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.3061, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.3062, allocations: 11.86 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3065, allocations: 23.97 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.3066, allocations: 51.78 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3067, allocations: 8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3068, allocations: 23.91 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.3068, allocations: 23.91 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3069, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.307, allocations: 35.97 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.307, allocations: 15.92 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3071, allocations: 19.88 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3072, allocations: 79.7 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3073, allocations: 0 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3073, allocations: 3.938 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3073, allocations: 0 / 1.029 GB, free: 88 kB / 0.795 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.0006137/0.3079, allocations: 387.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3079, allocations: 8.031 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.308, allocations: 8.844 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3081, allocations: 164.3 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3082, allocations: 4.375 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.3082, allocations: 384 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.3085, allocations: 118.2 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3085, allocations: 192 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3085, allocations: 3.938 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.3086, allocations: 11.94 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.3089, allocations: 127.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.3094, allocations: 348.6 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3096, allocations: 50.55 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3097, allocations: 40.91 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.31, allocations: 129 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3101, allocations: 34.56 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.3101, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005072/0.3106, allocations: 129.5 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3106, allocations: 59.34 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3108, allocations: 153.8 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3108, allocations: 25.7 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.3109, allocations: 119.6 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.3109, allocations: 7.906 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.311, allocations: 33.7 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3111, allocations: 314.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3113, allocations: 51.88 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3115, allocations: 113.4 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.3118, allocations: 177.2 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3118, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004372/0.3123, allocations: 181.5 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3123, allocations: 11.94 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3123, allocations: 4 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3123, allocations: 240 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3125, allocations: 43.84 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3125, allocations: 4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3126, allocations: 23.83 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3127, allocations: 8 kB / 1.031 GB, free: 12.94 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 0.0001183/0.3128, allocations: 137.8 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3128, allocations: 15.88 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.3132, allocations: 113.9 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3132, allocations: 3.938 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3132, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3132, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3134, allocations: 173.6 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3134, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.3135, allocations: 15.98 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3135, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3136, allocations: 7.984 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3136, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3136, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.3139, allocations: 203.3 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.314, allocations: 81.02 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.314, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3141, allocations: 23.91 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3142, allocations: 8 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.3142, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.957e-05/0.3143, allocations: 113.3 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3143, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002772/0.3146, allocations: 12 kB / 1.032 GB, free: 11.94 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.000154/0.3147, allocations: 103.2 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.3151, allocations: 107.8 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3151, allocations: 0 / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3152, allocations: 35.95 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3156, allocations: 11.3 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.3159, allocations: 170 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3162, allocations: 0.6924 MB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.593e-05/0.3163, allocations: 28.41 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.3163, allocations: 15.44 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3163, allocations: 7.938 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.003304/0.3196, allocations: 0.9581 MB / 1.034 GB, free: 9.758 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches