Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 188.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009622/0.0009621, allocations: 88.88 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.755e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8957/1.161, allocations: 131.9 MB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.161, allocations: 67.47 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003922/1.165, allocations: 1.248 MB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.434e-06/1.165, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.165, allocations: 8 kB / 1.015 GB, free: 4.719 MB / 0.6355 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.0005203/1.165, allocations: 373.9 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.165, allocations: 12.03 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/1.166, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/1.166, allocations: 186.8 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.166, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/1.166, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001661/1.166, allocations: 66.23 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/1.166, allocations: 81.59 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.166, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.166, allocations: 4 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.166, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/1.167, allocations: 352.8 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/1.167, allocations: 36.81 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/1.167, allocations: 14.91 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.167, allocations: 121 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.167, allocations: 38.5 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/1.167, allocations: 7.984 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002829/1.168, allocations: 64.52 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.168, allocations: 58.47 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.168, allocations: 131.3 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.168, allocations: 25.7 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/1.168, allocations: 122 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/1.168, allocations: 14.98 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/1.168, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.168, allocations: 318.8 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/1.168, allocations: 23.3 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.168, allocations: 84.62 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/1.168, allocations: 50.97 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.168, allocations: 0 / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002459/1.169, allocations: 133.7 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.169, allocations: 12.06 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.169, allocations: 3.938 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.169, allocations: 11.89 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.169, allocations: 44.78 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.169, allocations: 4 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.169, allocations: 31.86 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/1.169, allocations: 8 kB / 1.018 GB, free: 2.238 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/1.169, allocations: 104.9 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/1.169, allocations: 7.906 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/1.17, allocations: 87.55 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.17, allocations: 11.89 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.17, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.17, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.17, allocations: 161.8 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.17, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.17, allocations: 19.98 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.17, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/1.17, allocations: 3.5 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.17, allocations: 5.188 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.17, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/1.17, allocations: 172.6 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/1.17, allocations: 81.02 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.17, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.17, allocations: 19.98 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.17, allocations: 7.984 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.17, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.487e-05/1.171, allocations: 104 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.171, allocations: 0 / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002464/1.171, allocations: 19.95 kB / 1.018 GB, free: 1.406 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/1.171, allocations: 109.6 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001609/1.171, allocations: 46.86 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.171, allocations: 8.062 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/1.171, allocations: 14.44 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.171, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/1.172, allocations: 115.3 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/1.172, allocations: 0.6918 MB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000105/1.172, allocations: 32.78 kB / 1.019 GB, free: 368 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/1.172, allocations: 15.44 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.172, allocations: 0 / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of Templates: time 0.003108/1.175, allocations: 0.7628 MB / 1.02 GB, free: 15.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Bicubic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches