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.001378/0.001377, allocations: 112 kB / 16.41 MB, free: 6.484 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.001264/0.001264, allocations: 183 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.273/2.273, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.142, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.004309/1.147, allocations: 1.486 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004908/1.147, allocations: 127.5 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/1.147, allocations: 0.8125 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/1.147, allocations: 1.359 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/1.148, allocations: 11.64 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/1.148, allocations: 29.23 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/1.148, allocations: 43.3 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/1.148, allocations: 11.86 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/1.148, allocations: 22.45 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/1.148, allocations: 17.84 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/1.148, allocations: 3.844 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/1.149, allocations: 39.88 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/1.149, allocations: 18.2 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/1.149, allocations: 19.14 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/1.149, allocations: 88.03 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.149, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/1.149, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.114e-06/1.149, allocations: 0 / 1.09 GB, free: 4.293 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.0006856/1.15, allocations: 380.4 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.15, allocations: 9.609 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/1.15, allocations: 8.281 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.15, allocations: 172.6 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/1.15, allocations: 5.438 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/1.15, allocations: 3.25 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/1.15, allocations: 114.1 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.15, allocations: 1.281 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.15, allocations: 4.5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/1.151, allocations: 10.33 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/1.151, allocations: 123 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/1.152, allocations: 349.2 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/1.152, allocations: 60.59 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/1.152, allocations: 48.45 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/1.153, allocations: 124 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/1.153, allocations: 32.42 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/1.153, allocations: 0 / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000771/1.153, allocations: 128.3 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/1.153, allocations: 59.91 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.154, allocations: 151.8 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.154, allocations: 29.64 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/1.154, allocations: 121.3 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/1.154, allocations: 15.06 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/1.154, allocations: 29.08 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/1.154, allocations: 315.7 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/1.154, allocations: 50.14 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/1.154, allocations: 117.5 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/1.155, allocations: 168.3 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.155, allocations: 0.5312 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006487/1.156, allocations: 181.5 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.156, allocations: 6.75 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.156, allocations: 2.875 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.156, allocations: 3.406 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.156, allocations: 44.62 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.156, allocations: 8.297 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/1.156, allocations: 23.67 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/1.156, allocations: 7.438 kB / 1.093 GB, free: 2.051 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.000106/1.156, allocations: 127.2 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/1.156, allocations: 7.469 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/1.157, allocations: 116.1 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.157, allocations: 3.938 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.157, allocations: 1.031 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.157, allocations: 0.5625 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/1.157, allocations: 173.8 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.157, allocations: 4 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.157, allocations: 16.84 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.157, allocations: 1.25 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/1.157, allocations: 0 / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.157, allocations: 9.859 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.157, allocations: 0 / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/1.158, allocations: 201.1 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/1.158, allocations: 83.66 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.158, allocations: 0.6875 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.158, allocations: 24.83 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/1.158, allocations: 7.406 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/1.158, allocations: 2.922 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.573e-05/1.158, allocations: 109 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.158, allocations: 4 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004929/1.159, allocations: 15.66 kB / 1.094 GB, free: 1.305 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.0001942/1.159, allocations: 107.1 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005564/1.16, allocations: 108 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.16, allocations: 4.969 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.16, allocations: 35 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/1.16, allocations: 15.95 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/1.161, allocations: 191.5 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/1.161, allocations: 0.6976 MB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/1.161, allocations: 13.83 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of SimCode: time 7.11e-07/1.161, allocations: 0.7812 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of Templates: time 0.00522/1.166, allocations: 1.184 MB / 1.096 GB, free: 216 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches