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.001359/0.001359, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001347/0.001347, allocations: 194.7 kB / 17.2 MB, free: 5.594 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 69.19 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3376, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003737/0.3414, allocations: 1.484 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.3419, allocations: 119.6 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.342, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.342, allocations: 7.922 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.3422, allocations: 7.938 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3424, allocations: 31.95 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3426, allocations: 47.78 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3427, allocations: 11.94 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.3428, allocations: 23.92 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.3429, allocations: 19.91 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3429, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.343, allocations: 39.97 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.3431, allocations: 15.92 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.3431, allocations: 19.88 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3433, allocations: 67.77 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3434, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3434, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3434, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8419 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.0006553/0.344, allocations: 383.5 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3441, allocations: 8.625 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.3441, allocations: 4.938 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3443, allocations: 176.2 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3443, allocations: 4.375 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3443, allocations: 4.359 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.3447, allocations: 114.2 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3447, allocations: 192 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3447, allocations: 11.88 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.3448, allocations: 8 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3452, allocations: 131.8 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3457, allocations: 340.6 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.346, allocations: 54.55 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.3462, allocations: 40.91 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.3465, allocations: 129.1 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3466, allocations: 38.5 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3466, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0006301/0.3472, allocations: 125.6 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3473, allocations: 55.34 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3474, allocations: 153.8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3474, allocations: 29.7 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.3475, allocations: 115.6 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.3476, allocations: 11.91 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3476, allocations: 25.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3478, allocations: 322.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3479, allocations: 47.95 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3482, allocations: 116.3 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3486, allocations: 169.4 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3486, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004803/0.3491, allocations: 193.2 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3491, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3492, allocations: 7.938 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3492, allocations: 4 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3494, allocations: 35.91 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3494, allocations: 8.25 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3495, allocations: 31.83 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3496, allocations: 4 kB / 1.069 GB, free: 9.914 MB / 0.8419 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.000106/0.3497, allocations: 125.8 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.3497, allocations: 7.906 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.3501, allocations: 125.8 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3502, allocations: 7.875 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3502, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3502, allocations: 4 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3504, allocations: 177.6 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3504, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3505, allocations: 15.98 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3505, allocations: 4 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3505, allocations: 3.984 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3506, allocations: 3.938 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3506, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.351, allocations: 203.3 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.351, allocations: 81.02 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3511, allocations: 4 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3512, allocations: 15.91 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3512, allocations: 8 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3513, allocations: 4 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.639e-05/0.3513, allocations: 109.3 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3514, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003067/0.3517, allocations: 20 kB / 1.07 GB, free: 8.906 MB / 0.8419 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.000183/0.3519, allocations: 99.78 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.3523, allocations: 107.8 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3523, allocations: 0.625 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3525, allocations: 39.95 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3528, allocations: 8 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.3533, allocations: 191.6 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3536, allocations: 0.6969 MB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.3537, allocations: 15.44 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3537, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.003454/0.3572, allocations: 1.19 MB / 1.072 GB, free: 6.508 MB / 0.8419 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/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