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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001895/0.001895, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 69.97 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003035/0.3311, allocations: 1.541 MB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.3316, allocations: 135.6 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.3316, allocations: 4 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.3317, allocations: 7.922 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.3318, allocations: 3.938 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.3319, allocations: 27.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.332, allocations: 35.92 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.3323, allocations: 8 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.3324, allocations: 23.92 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.3324, allocations: 19.91 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3324, allocations: 7.984 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.3325, allocations: 31.97 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.3326, allocations: 15.92 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3326, allocations: 19.88 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3328, allocations: 75.7 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3328, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3328, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3328, allocations: 0 / 1.054 GB, free: 6.887 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.0006376/0.3334, allocations: 391.5 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3335, allocations: 8.031 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.3335, allocations: 8.844 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3337, allocations: 172.3 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3337, allocations: 384 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3337, allocations: 8.375 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.3343, allocations: 114.1 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3343, allocations: 192 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3343, allocations: 3.938 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.3343, allocations: 15.98 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3347, allocations: 115.8 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.3355, allocations: 344.7 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.3357, allocations: 54.48 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3358, allocations: 40.91 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.3362, allocations: 133 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3362, allocations: 38.56 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3362, allocations: 4 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/0.3368, allocations: 129.7 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3368, allocations: 59.33 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.337, allocations: 149.2 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.337, allocations: 25.7 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3371, allocations: 123.6 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.3371, allocations: 15.83 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.3372, allocations: 25.72 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3373, allocations: 322.8 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3375, allocations: 43.95 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3377, allocations: 109.4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.3381, allocations: 177.2 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3381, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004212/0.3385, allocations: 189.4 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3385, allocations: 4 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3385, allocations: 7.938 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3386, allocations: 4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3387, allocations: 39.84 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3388, allocations: 4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.3389, allocations: 27.83 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3389, allocations: 8.188 kB / 1.057 GB, free: 3.723 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.556e-05/0.339, allocations: 131.2 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.339, allocations: 7.906 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.3394, allocations: 113.9 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3394, allocations: 7.938 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3395, allocations: 0 / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3395, allocations: 0 / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3397, allocations: 177.6 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3397, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.3398, allocations: 15.98 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3398, allocations: 3.984 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3398, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3398, allocations: 11.88 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3398, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.3403, allocations: 195.4 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3403, allocations: 85.02 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3403, allocations: 3.984 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3405, allocations: 19.92 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3406, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3406, allocations: 8 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.159e-05/0.3407, allocations: 107.2 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002821/0.341, allocations: 24 kB / 1.058 GB, free: 2.727 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.0001864/0.3412, allocations: 95.25 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.3415, allocations: 107.8 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3417, allocations: 44.58 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3421, allocations: 5.562 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.3425, allocations: 187.6 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3428, allocations: 0.6926 MB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.522e-05/0.3429, allocations: 28.73 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3429, allocations: 11.44 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3429, allocations: 0 / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of Templates: time 0.003171/0.3461, allocations: 0.8286 MB / 1.06 GB, free: 0.6797 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