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.308/1.308, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 187.9 kB / 326.5 MB, free: 2.23 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.767/1.767, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0007924/0.0007923, allocations: 87.56 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 9.031 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.3842, allocations: 131.7 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.3845, allocations: 71.95 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003599/0.3882, allocations: 1.262 MB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3882, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3882, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 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.0005111/0.3887, allocations: 387 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3888, allocations: 12.03 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3888, allocations: 7.891 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3889, allocations: 178.9 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.389, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.389, allocations: 4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3893, allocations: 123 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3893, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3893, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.3893, allocations: 11.98 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.3897, allocations: 135.8 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.3904, allocations: 384.3 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.3906, allocations: 66.53 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.3908, allocations: 129.1 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3908, allocations: 34.56 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3909, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005331/0.3914, allocations: 173.4 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3914, allocations: 51.41 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3916, allocations: 131.3 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3916, allocations: 25.7 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.3917, allocations: 119.7 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.3917, allocations: 19.83 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.3917, allocations: 4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3918, allocations: 318.8 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.392, allocations: 51.95 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3922, allocations: 125.3 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3924, allocations: 79.94 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3924, allocations: 3.938 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004349/0.3929, allocations: 197.2 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3929, allocations: 11.95 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3929, allocations: 320 / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3929, allocations: 8 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3931, allocations: 43.91 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.3931, allocations: 4 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3933, allocations: 31.88 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3933, allocations: 11.98 kB / 1.033 GB, free: 7.609 MB / 0.6823 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.704e-05/0.3934, allocations: 121.8 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3934, allocations: 7.906 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.3938, allocations: 149.7 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3938, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3938, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3938, allocations: 8 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.394, allocations: 181.6 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.394, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3941, allocations: 19.98 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3941, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3942, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3942, allocations: 3.953 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3942, allocations: 0 / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3945, allocations: 232 kB / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.3946, allocations: 85.34 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3946, allocations: 0 / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3947, allocations: 15.98 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3948, allocations: 11.94 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3948, allocations: 4 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.3949, allocations: 113.9 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3949, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002338/0.3951, allocations: 16 kB / 1.034 GB, free: 6.559 MB / 0.6823 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.0001439/0.3953, allocations: 107.2 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.3956, allocations: 131.8 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3957, allocations: 0 / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3958, allocations: 52.58 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.396, allocations: 11.94 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.3963, allocations: 169.1 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3966, allocations: 0.7004 MB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.343e-05/0.3967, allocations: 24.41 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3967, allocations: 15.44 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3967, allocations: 0 / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of Templates: time 0.002619/0.3994, allocations: 0.802 MB / 1.036 GB, free: 4.5 MB / 0.6823 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