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.001664/0.001664, allocations: 101.5 kB / 16.41 MB, free: 6.461 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.001865/0.001865, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.09 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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003031/1.03, allocations: 1.482 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003539/1.031, allocations: 127.4 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/1.031, allocations: 1.406 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/1.031, allocations: 5.203 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/1.031, allocations: 6.797 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/1.031, allocations: 34.25 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/1.031, allocations: 43.91 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/1.031, allocations: 10.94 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/1.031, allocations: 20.86 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/1.031, allocations: 23.44 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/1.031, allocations: 4.312 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/1.032, allocations: 37.41 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/1.032, allocations: 14.45 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/1.032, allocations: 22.47 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/1.032, allocations: 83.95 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.032, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/1.032, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.032, allocations: 0.8125 kB / 1.09 GB, free: 4.27 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.0004989/1.032, allocations: 378 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.032, allocations: 8.688 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/1.032, allocations: 7.875 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/1.033, allocations: 177 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/1.033, allocations: 5.344 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/1.033, allocations: 2.469 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/1.033, allocations: 114.2 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.033, allocations: 192 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.033, allocations: 5.672 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.033, allocations: 9.062 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/1.033, allocations: 123.9 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/1.034, allocations: 352.8 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.034, allocations: 52.12 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/1.034, allocations: 46.02 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/1.034, allocations: 123.1 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/1.034, allocations: 31.98 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.034, allocations: 0.6875 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/1.035, allocations: 135.2 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.035, allocations: 61.5 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/1.035, allocations: 151 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/1.035, allocations: 29.64 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/1.035, allocations: 120.9 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/1.035, allocations: 11.62 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/1.035, allocations: 30.05 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/1.035, allocations: 314.9 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.036, allocations: 50.05 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/1.036, allocations: 118.8 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/1.036, allocations: 168.8 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.036, allocations: 0.6875 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004607/1.037, allocations: 181.1 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.037, allocations: 12.75 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.037, allocations: 3.328 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.037, allocations: 3.656 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.037, allocations: 37.94 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.037, allocations: 10.86 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.037, allocations: 26.94 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/1.037, allocations: 8.734 kB / 1.093 GB, free: 2.027 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 7.16e-05/1.037, allocations: 122 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/1.037, allocations: 7.891 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/1.038, allocations: 119.6 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.038, allocations: 4.688 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.038, allocations: 4.562 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.038, allocations: 1.578 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.038, allocations: 173 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.038, allocations: 4 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/1.038, allocations: 16.81 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.038, allocations: 1.062 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.038, allocations: 0.6094 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.038, allocations: 5.125 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.038, allocations: 0 / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/1.038, allocations: 205.3 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/1.038, allocations: 83.28 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/1.038, allocations: 2.047 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.039, allocations: 18.84 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/1.039, allocations: 8.406 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/1.039, allocations: 2.625 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.112e-05/1.039, allocations: 107.4 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.039, allocations: 4 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000272/1.039, allocations: 14.89 kB / 1.094 GB, free: 1.281 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.0001446/1.039, allocations: 103.9 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004114/1.04, allocations: 104 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.04, allocations: 4 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.04, allocations: 35.3 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.04, allocations: 8.844 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/1.04, allocations: 193.6 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/1.041, allocations: 0.6985 MB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/1.041, allocations: 13.34 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.041, allocations: 0 / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of Templates: time 0.003583/1.044, allocations: 1.199 MB / 1.096 GB, free: 192 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