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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 187 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 0.7992 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009403, allocations: 96.27 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003865, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3213, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.5021, allocations: 150.1 MB / 1.376 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5025, allocations: 71.95 kB / 1.376 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00389/0.5064, allocations: 1.269 MB / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5064, allocations: 0 / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5064, allocations: 0 / 1.377 GB, free: 2.02 MB / 0.8698 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.0005278/0.507, allocations: 383.1 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.507, allocations: 8.562 kB / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.5071, allocations: 11.91 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.5073, allocations: 178.8 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5073, allocations: 0 / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.5073, allocations: 7.984 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.5077, allocations: 113.6 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5078, allocations: 4 kB / 1.378 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.5078, allocations: 4 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.5078, allocations: 11.98 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.5083, allocations: 131.8 kB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.5091, allocations: 377.5 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.5093, allocations: 66.5 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.5097, allocations: 121.2 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5097, allocations: 30.56 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.5097, allocations: 0 / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006208/0.5103, allocations: 177.4 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5104, allocations: 55.34 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5105, allocations: 134.5 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5106, allocations: 25.7 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5107, allocations: 115.8 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.5107, allocations: 19.73 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.5107, allocations: 8 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5108, allocations: 310.8 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.511, allocations: 55.95 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.5113, allocations: 129.3 kB / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.5114, allocations: 75.95 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5115, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000449/0.5119, allocations: 201.3 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5119, allocations: 4 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.512, allocations: 7.938 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.512, allocations: 4.312 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.5122, allocations: 43.97 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5122, allocations: 7.938 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5124, allocations: 27.89 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5124, allocations: 4 kB / 1.38 GB, free: 14.96 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5125, allocations: 134.5 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5126, allocations: 11.86 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.513, allocations: 138 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.513, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.513, allocations: 48 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.513, allocations: 3.984 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.5132, allocations: 181.6 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5132, allocations: 4 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.5133, allocations: 19.98 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5133, allocations: 7.984 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5133, allocations: 3.953 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5133, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5134, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.5137, allocations: 229 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.5138, allocations: 81.02 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.5138, allocations: 3.984 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.5139, allocations: 19.94 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.514, allocations: 8 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.514, allocations: 4 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.715e-05/0.5141, allocations: 109.1 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5141, allocations: 4 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002561/0.5144, allocations: 16 kB / 1.381 GB, free: 13.9 MB / 0.8855 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 (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.0001771/0.5145, allocations: 104 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.515, allocations: 135.8 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.515, allocations: 0 / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.5151, allocations: 48.52 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.5153, allocations: 8 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.5158, allocations: 181.1 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5161, allocations: 0.6926 MB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.5162, allocations: 28.41 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.5163, allocations: 11.44 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5163, allocations: 3.938 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of Templates: time 0.003259/0.5195, allocations: 0.7999 MB / 1.383 GB, free: 11.84 MB / 0.8855 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches