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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006793/0.006793, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001134/0.001134, allocations: 194 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.625/2.625, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 60.41 kB / 0.9508 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3408, allocations: 140.4 MB / 1.088 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003122/0.344, allocations: 1.488 MB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.3444, allocations: 124.5 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.3445, allocations: 0 / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.3445, allocations: 3.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.3446, allocations: 19.91 kB / 1.09 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3449, allocations: 23.97 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.345, allocations: 47.78 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3452, allocations: 8 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.3452, allocations: 19.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.3453, allocations: 15.92 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3453, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.3454, allocations: 43.95 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.3455, allocations: 23.91 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.3455, allocations: 15.88 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3457, allocations: 79.7 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3457, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3457, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3457, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 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.0006966/0.3465, allocations: 375.3 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3465, allocations: 12.03 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.3466, allocations: 8.844 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3467, allocations: 168.3 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3468, allocations: 384 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3468, allocations: 384 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3471, allocations: 122.1 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3471, allocations: 192 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3471, allocations: 7.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.3472, allocations: 8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.3475, allocations: 123.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.348, allocations: 344.6 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3483, allocations: 62.47 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3484, allocations: 44.91 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.3487, allocations: 133.1 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3488, allocations: 34.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3488, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005477/0.3493, allocations: 137.6 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3494, allocations: 55.34 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3495, allocations: 159.1 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3496, allocations: 25.7 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3497, allocations: 115.6 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3497, allocations: 11.91 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.3498, allocations: 33.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3499, allocations: 318.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3501, allocations: 43.95 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3503, allocations: 117.4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.3507, allocations: 165.2 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3507, allocations: 3.938 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004102/0.3511, allocations: 181.2 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3511, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3511, allocations: 8.297 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3512, allocations: 8 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3513, allocations: 39.86 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3514, allocations: 7.984 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3515, allocations: 23.83 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3515, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.3516, allocations: 129.7 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3516, allocations: 7.906 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.352, allocations: 117.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.352, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.352, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.352, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3522, allocations: 173.6 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3523, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.3523, allocations: 15.92 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3524, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3524, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3524, allocations: 3.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3524, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3527, allocations: 203.4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.3528, allocations: 81.02 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3528, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3529, allocations: 19.92 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.353, allocations: 7.984 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.353, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.3531, allocations: 113.1 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3531, allocations: 3.938 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002565/0.3534, allocations: 16 kB / 1.093 GB, free: 11.55 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.3535, allocations: 99.25 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.3539, allocations: 108.3 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3539, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3541, allocations: 40.31 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3545, allocations: 11.94 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.3549, allocations: 158.2 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3553, allocations: 0.6929 MB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.864e-05/0.3554, allocations: 28.41 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.3554, allocations: 11.44 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3554, allocations: 0 / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of Templates: time 0.003915/0.3593, allocations: 0.9964 MB / 1.096 GB, free: 9.359 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches