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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001056/0.001055, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001098/0.001098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 15.98 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9781/0.9786, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.0018/0.9805, allocations: 1.203 MB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.9808, allocations: 108.6 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.9809, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.9809, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.981, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.9812, allocations: 19.97 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.9813, allocations: 19.97 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.9815, allocations: 19.98 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.9815, allocations: 19.91 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.9816, allocations: 19.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.9816, allocations: 4 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.9817, allocations: 27.91 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.9818, allocations: 19.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.9818, allocations: 29.7 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.982, allocations: 43.92 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.982, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.982, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.982, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 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.0006389/0.9826, allocations: 389.1 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.9827, allocations: 15.98 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.9827, allocations: 7.844 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9829, allocations: 171 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9829, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.9829, allocations: 4 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.9833, allocations: 129.6 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9833, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.9834, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.9834, allocations: 16 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.9838, allocations: 147.8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.9843, allocations: 340.6 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.9846, allocations: 70.53 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.9849, allocations: 117.2 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.9849, allocations: 34.56 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9849, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006277/0.9855, allocations: 165.5 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.9856, allocations: 51.41 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.9858, allocations: 151.1 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.9858, allocations: 25.7 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.9859, allocations: 123.7 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.9859, allocations: 19.83 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.9859, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9861, allocations: 314.8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.9862, allocations: 59.95 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.9865, allocations: 137.3 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.9867, allocations: 71.95 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9867, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004328/0.9871, allocations: 205.2 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9872, allocations: 4.312 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9872, allocations: 8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9872, allocations: 4 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.9874, allocations: 39.97 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.9874, allocations: 11.92 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.9875, allocations: 31.78 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.9875, allocations: 12 kB / 1.025 GB, free: 12.47 MB / 0.7794 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 9.58e-05/0.9876, allocations: 121.8 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.9877, allocations: 7.906 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.9881, allocations: 137.8 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9881, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.9881, allocations: 4 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9882, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.9885, allocations: 181.6 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9885, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.9886, allocations: 27.91 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9886, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.9886, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9886, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9886, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.9891, allocations: 231.5 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.9893, allocations: 81.09 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9893, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.9894, allocations: 15.98 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.9895, allocations: 4 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.9895, allocations: 8 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.9896, allocations: 112.9 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9896, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002544/0.9899, allocations: 16 kB / 1.026 GB, free: 11.43 MB / 0.7794 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.0002784/0.9901, allocations: 107.2 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.9905, allocations: 123.8 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9906, allocations: 4.625 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.9907, allocations: 47.97 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.9909, allocations: 7.953 kB / 1.026 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.9913, allocations: 181 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.992, allocations: 0.6926 MB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.9921, allocations: 24.41 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.9922, allocations: 19.44 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.9922, allocations: 3.938 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.003364/0.9955, allocations: 0.7977 MB / 1.028 GB, free: 9.379 MB / 0.7794 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