Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_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.007001/0.007001, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001141/0.001141, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.836/2.836, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 71.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3336, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002923/0.3366, allocations: 1.474 MB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004035/0.337, allocations: 124.5 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.3371, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.707e-05/0.3372, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.3373, allocations: 19.8 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3376, allocations: 27.97 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3377, allocations: 47.84 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3378, allocations: 4 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.3379, allocations: 31.91 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.338, allocations: 19.91 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.338, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3381, allocations: 35.97 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.3382, allocations: 15.92 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3382, allocations: 23.81 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3384, allocations: 71.7 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3384, allocations: 0 / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3384, allocations: 4 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3384, allocations: 0 / 1.168 GB, free: 4.887 MB / 0.92 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.0006078/0.3391, allocations: 387.1 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3391, allocations: 8.031 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.3392, allocations: 8.891 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3393, allocations: 176.2 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3393, allocations: 384 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3394, allocations: 8.375 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3397, allocations: 110.2 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3397, allocations: 4.172 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3397, allocations: 7.938 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.3398, allocations: 12 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.3401, allocations: 119.8 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.3406, allocations: 348.6 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3409, allocations: 58.53 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.341, allocations: 40.91 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.3413, allocations: 125 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3414, allocations: 42.48 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3414, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005631/0.3419, allocations: 133.5 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.342, allocations: 55.34 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3421, allocations: 143.5 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3422, allocations: 25.7 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.3422, allocations: 124 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3423, allocations: 15.84 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.3423, allocations: 29.7 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3424, allocations: 318.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3426, allocations: 47.95 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3428, allocations: 117.3 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.3432, allocations: 169.2 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3432, allocations: 3.938 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004444/0.3437, allocations: 185.5 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3437, allocations: 7.984 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3437, allocations: 4 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3437, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3439, allocations: 35.86 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3439, allocations: 7.984 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.344, allocations: 23.94 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3441, allocations: 4 kB / 1.171 GB, free: 1.727 MB / 0.92 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 8.684e-05/0.3442, allocations: 125.8 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3442, allocations: 7.953 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.3446, allocations: 121.8 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3446, allocations: 3.938 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3446, allocations: 0 / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3446, allocations: 4 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3448, allocations: 177.6 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3448, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.3449, allocations: 11.98 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3449, allocations: 4.281 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3449, allocations: 3.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3449, allocations: 3.938 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3449, allocations: 4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3453, allocations: 207.3 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.3454, allocations: 81.06 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3454, allocations: 4 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3455, allocations: 15.92 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.3456, allocations: 7.984 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.3456, allocations: 4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.427e-05/0.3457, allocations: 113.1 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3457, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002886/0.346, allocations: 16 kB / 1.172 GB, free: 0.7227 MB / 0.92 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.0001686/0.3462, allocations: 103.2 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3466, allocations: 111.8 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3466, allocations: 0 / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3468, allocations: 40.58 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3471, allocations: 12 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.3475, allocations: 161.8 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3478, allocations: 0.6967 MB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.3479, allocations: 24.36 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.3479, allocations: 19.42 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3479, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.003605/0.3515, allocations: 0.9736 MB / 1.174 GB, free: 14.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches