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.539/1.539, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001088/0.001088, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009753/0.0009752, allocations: 93.23 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.66e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9572/1.208, allocations: 131.6 MB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.209, allocations: 71.89 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006458/1.215, allocations: 1.254 MB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.215, allocations: 0 / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.215, allocations: 0 / 1.022 GB, free: 1.844 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.0007508/1.216, allocations: 385.1 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/1.216, allocations: 12.03 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/1.216, allocations: 0 / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/1.217, allocations: 178.8 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.217, allocations: 0 / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/1.217, allocations: 4.5 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/1.217, allocations: 80.59 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.217, allocations: 7.984 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.217, allocations: 7.438 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/1.217, allocations: 11.98 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/1.217, allocations: 61.8 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/1.218, allocations: 382.2 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.219, allocations: 37.38 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/1.219, allocations: 26.55 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/1.219, allocations: 121.6 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.219, allocations: 34.55 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 5.06e-06/1.219, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003004/1.22, allocations: 56.3 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.22, allocations: 55.41 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/1.22, allocations: 137.2 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.22, allocations: 28.95 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.22, allocations: 115.2 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/1.22, allocations: 15.38 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/1.22, allocations: 0 / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.22, allocations: 322.4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/1.22, allocations: 19.12 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/1.221, allocations: 98.16 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/1.221, allocations: 39.03 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.221, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003418/1.221, allocations: 134.1 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.221, allocations: 11.95 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.221, allocations: 320 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.221, allocations: 8 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/1.221, allocations: 39.97 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.221, allocations: 7.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.222, allocations: 30.98 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/1.222, allocations: 8 kB / 1.024 GB, free: 15.34 MB / 0.6511 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 0.0001122/1.222, allocations: 112.4 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/1.222, allocations: 7.906 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/1.222, allocations: 76.16 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.222, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.222, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.222, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.223, allocations: 179.5 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.223, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.223, allocations: 23.97 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.223, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.223, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.223, allocations: 3.953 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.223, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/1.223, allocations: 161.9 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/1.223, allocations: 81.02 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/1.223, allocations: 4 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/1.223, allocations: 15.98 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/1.223, allocations: 11.19 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.223, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.555e-05/1.224, allocations: 111 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.11e-07/1.224, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004375/1.224, allocations: 19 kB / 1.025 GB, free: 14.48 MB / 0.6511 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.0002091/1.224, allocations: 107.2 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002023/1.224, allocations: 56.55 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.224, allocations: 4.625 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/1.225, allocations: 15.06 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/1.225, allocations: 11.42 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/1.225, allocations: 104.4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/1.226, allocations: 0.6999 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001764/1.226, allocations: 24.42 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/1.226, allocations: 19.42 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of SimCode: time 3.156e-06/1.226, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of Templates: time 0.004585/1.231, allocations: 0.8083 MB / 1.027 GB, free: 12.61 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