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.001259/0.001259, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001269/0.001269, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.424/2.424, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9034, allocations: 140.3 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002668/0.9061, allocations: 1.551 MB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.9065, allocations: 117.3 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.9065, allocations: 1.375 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.9066, allocations: 3.938 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.9067, allocations: 10.69 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.9069, allocations: 27.72 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.437e-05/0.907, allocations: 38.33 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.9071, allocations: 12.48 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.9072, allocations: 18.61 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.9072, allocations: 22.34 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.9073, allocations: 7.469 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.9074, allocations: 43.11 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.9074, allocations: 12.78 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.9075, allocations: 28.36 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.9076, allocations: 75.8 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9076, allocations: 3.938 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9076, allocations: 1.562 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9076, allocations: 0 / 0.951 GB, free: 7.555 MB / 0.7169 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.000505/0.9081, allocations: 379.8 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9082, allocations: 13.52 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.9082, allocations: 15.38 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/0.9083, allocations: 170.8 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9083, allocations: 1.594 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.9084, allocations: 2.938 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.9087, allocations: 113.7 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9087, allocations: 192 / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9087, allocations: 7.938 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.9087, allocations: 12.48 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.9091, allocations: 117.4 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.9095, allocations: 350.7 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.9097, allocations: 62 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.9099, allocations: 35.73 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.9102, allocations: 127.5 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9102, allocations: 32.09 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9102, allocations: 0 / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005687/0.9108, allocations: 136.7 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.9108, allocations: 59.28 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.911, allocations: 152.1 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.911, allocations: 25.7 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.9111, allocations: 116.8 kB / 0.9529 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.9111, allocations: 17.75 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.9112, allocations: 28.06 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.9113, allocations: 325.9 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.9114, allocations: 45.05 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.9117, allocations: 116.5 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.912, allocations: 172.9 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.912, allocations: 0 / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004246/0.9125, allocations: 172.3 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9125, allocations: 9.406 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9125, allocations: 3.25 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.9126, allocations: 3.969 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.9127, allocations: 40.16 kB / 0.9537 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.9128, allocations: 4.125 kB / 0.9537 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.9129, allocations: 26.08 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.9129, allocations: 12.3 kB / 0.9538 GB, free: 5.043 MB / 0.7169 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 9.038e-05/0.913, allocations: 124.8 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.913, allocations: 10.97 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.9134, allocations: 117.7 kB / 0.954 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9134, allocations: 9.375 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9135, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9135, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.9136, allocations: 173.9 kB / 0.9542 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9137, allocations: 1.219 kB / 0.9542 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.9138, allocations: 18.39 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9138, allocations: 1.188 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9138, allocations: 4 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9138, allocations: 5.219 kB / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9138, allocations: 0 / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.9141, allocations: 203.2 kB / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.9142, allocations: 78.73 kB / 0.9545 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.9142, allocations: 1.594 kB / 0.9545 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9143, allocations: 18.28 kB / 0.9545 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.9144, allocations: 14.72 kB / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.9144, allocations: 2.875 kB / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.9145, allocations: 109.4 kB / 0.9546 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9145, allocations: 3.938 kB / 0.9546 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002718/0.9148, allocations: 14.34 kB / 0.9547 GB, free: 4.215 MB / 0.7169 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.0001874/0.915, allocations: 109.7 kB / 0.9548 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.9154, allocations: 103.2 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9154, allocations: 1.25 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.9155, allocations: 37.06 kB / 0.9549 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.9159, allocations: 12.52 kB / 0.9549 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.9162, allocations: 185.1 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.9164, allocations: 0.6935 MB / 0.9558 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.9165, allocations: 29.12 kB / 0.9558 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.9166, allocations: 13.12 kB / 0.9558 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9166, allocations: 0 / 0.9558 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.004398/0.921, allocations: 0.8577 MB / 0.9566 GB, free: 2.719 MB / 0.7169 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