Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001188/0.001188, allocations: 183.3 kB / 498.1 MB, free: 5.734 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.657/1.657, allocations: 223.2 MB / 0.7949 GB, free: 18.76 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.0008904/0.0008904, allocations: 98.06 kB / 0.9346 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 9.531 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3029, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5089, allocations: 149.3 MB / 1.369 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5092, allocations: 75.95 kB / 1.369 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003676/0.5129, allocations: 1.269 MB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5129, allocations: 0 / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.5129, allocations: 0 / 1.37 GB, free: 2.75 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.0005055/0.5135, allocations: 387.8 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5135, allocations: 8.031 kB / 1.37 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.5136, allocations: 7.891 kB / 1.37 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.5137, allocations: 174.9 kB / 1.371 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5137, allocations: 4 kB / 1.371 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.5138, allocations: 0 / 1.371 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.5141, allocations: 121.6 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5141, allocations: 0 / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5141, allocations: 3.938 kB / 1.371 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.5141, allocations: 12 kB / 1.371 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.5145, allocations: 135.8 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.5152, allocations: 374.7 kB / 1.371 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5154, allocations: 74.48 kB / 1.371 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.5157, allocations: 125.2 kB / 1.371 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5157, allocations: 34.56 kB / 1.371 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5157, allocations: 0 / 1.371 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005977/0.5163, allocations: 165.4 kB / 1.372 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.5164, allocations: 55.39 kB / 1.372 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5166, allocations: 137.8 kB / 1.372 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5166, allocations: 25.7 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5167, allocations: 127.6 kB / 1.372 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.5167, allocations: 3.906 kB / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.5168, allocations: 4 kB / 1.372 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5169, allocations: 322.8 kB / 1.372 GB, free: 276 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5171, allocations: 55.95 kB / 1.372 GB, free: 220 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.5173, allocations: 125.3 kB / 1.372 GB, free: 60 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.5175, allocations: 75.88 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5175, allocations: 0 / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004258/0.518, allocations: 201.5 kB / 1.373 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.518, allocations: 13.44 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.518, allocations: 8 kB / 1.373 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.518, allocations: 4.234 kB / 1.373 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5182, allocations: 39.97 kB / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.5182, allocations: 7.938 kB / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5184, allocations: 35.81 kB / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.5184, allocations: 8 kB / 1.373 GB, free: 15.67 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 9.03e-05/0.5185, allocations: 121.8 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.5185, allocations: 7.938 kB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.5189, allocations: 145.7 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.519, allocations: 11.94 kB / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.519, allocations: 0 / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.519, allocations: 0 / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.5192, allocations: 173.6 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5192, allocations: 0 / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5193, allocations: 23.98 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5193, allocations: 0 / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5193, allocations: 3.953 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5193, allocations: 0 / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5193, allocations: 8 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.5197, allocations: 215.4 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.5198, allocations: 88.95 kB / 1.373 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.5198, allocations: 4 kB / 1.373 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5199, allocations: 19.94 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.52, allocations: 7.984 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.52, allocations: 4 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001427/0.5201, allocations: 109 kB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5201, allocations: 0 / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002916/0.5204, allocations: 23.91 kB / 1.374 GB, free: 14.61 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.0002086/0.5207, allocations: 107 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.5211, allocations: 124.4 kB / 1.374 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5211, allocations: 4 kB / 1.374 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5212, allocations: 47.95 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.5214, allocations: 8 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.5219, allocations: 173.1 kB / 1.374 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5221, allocations: 0.7004 MB / 1.375 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.5223, allocations: 24.41 kB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.5223, allocations: 15.44 kB / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/0.5223, allocations: 0 / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.003147/0.5255, allocations: 0.8102 MB / 1.376 GB, free: 12.55 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches