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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001474/0.001475, allocations: 191 kB / 16.14 MB, free: 6.645 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.492 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.528/2.528, allocations: 390.2 MB / 0.6642 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 71.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9755, allocations: 140.3 MB / 0.9489 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.004179/0.9797, allocations: 1.556 MB / 0.9504 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.9803, allocations: 117.5 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.9804, allocations: 1.031 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.9804, allocations: 3.938 kB / 0.9505 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9806, allocations: 14.52 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.9809, allocations: 24.97 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.981, allocations: 43.03 kB / 0.9506 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.9811, allocations: 8.25 kB / 0.9506 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.9812, allocations: 17.52 kB / 0.9506 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.9812, allocations: 22.94 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.9813, allocations: 6.812 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.9814, allocations: 33 kB / 0.9507 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.9815, allocations: 16.14 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.9815, allocations: 20.47 kB / 0.9507 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.9817, allocations: 71.98 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9817, allocations: 4 kB / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9817, allocations: 0 / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9817, allocations: 1.25 kB / 0.9508 GB, free: 7.582 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.0006824/0.9824, allocations: 382 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.9825, allocations: 9.25 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.9826, allocations: 7.688 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.9827, allocations: 178.6 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9827, allocations: 1.812 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.9828, allocations: 2.781 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.9831, allocations: 115.7 kB / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9831, allocations: 192 / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.9832, allocations: 7.922 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.9832, allocations: 12.25 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.9836, allocations: 122 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.9842, allocations: 341.9 kB / 0.9519 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.9844, allocations: 57.92 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.9845, allocations: 40.12 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.9849, allocations: 131 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.9849, allocations: 31.62 kB / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.9849, allocations: 0 / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005502/0.9855, allocations: 137.4 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9855, allocations: 56.78 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.9856, allocations: 148.5 kB / 0.9525 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.9857, allocations: 25.7 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.9857, allocations: 117.2 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.9858, allocations: 14.47 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.9858, allocations: 36.02 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.9859, allocations: 320.3 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.9861, allocations: 49.05 kB / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.9863, allocations: 113.5 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.9866, allocations: 168.1 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9866, allocations: 1.312 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004239/0.9871, allocations: 179.8 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9871, allocations: 14.47 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9871, allocations: 3.625 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9871, allocations: 2.594 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.9873, allocations: 38.03 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.9873, allocations: 3.781 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.9875, allocations: 25.73 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.9875, allocations: 8.125 kB / 0.9536 GB, free: 5.074 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 7.852e-05/0.9876, allocations: 128.6 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.9876, allocations: 7.5 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.988, allocations: 121.6 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.988, allocations: 9.125 kB / 0.9538 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.988, allocations: 0 / 0.9538 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.988, allocations: 1.281 kB / 0.9538 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.9882, allocations: 177.8 kB / 0.954 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9882, allocations: 0 / 0.954 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.9883, allocations: 18.67 kB / 0.954 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9883, allocations: 1.281 kB / 0.954 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.9883, allocations: 3.984 kB / 0.954 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.9883, allocations: 9.078 kB / 0.954 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9883, allocations: 0 / 0.954 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.9886, allocations: 198.5 kB / 0.9542 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.9887, allocations: 79.86 kB / 0.9543 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.9887, allocations: 0 / 0.9543 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.9888, allocations: 19.03 kB / 0.9543 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.9888, allocations: 14.53 kB / 0.9543 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.9889, allocations: 3.031 kB / 0.9543 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.9889, allocations: 116.2 kB / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.223e-06/0.9889, allocations: 1.5 kB / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002645/0.9892, allocations: 17.97 kB / 0.9545 GB, free: 4.23 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.0001596/0.9894, allocations: 101.9 kB / 0.9546 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.9898, allocations: 110.2 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9898, allocations: 0 / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.9899, allocations: 37.52 kB / 0.9547 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.9903, allocations: 8.875 kB / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.9907, allocations: 183.1 kB / 0.9549 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.9909, allocations: 0.6898 MB / 0.9556 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.627e-05/0.991, allocations: 28.94 kB / 0.9556 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.991, allocations: 12.53 kB / 0.9556 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.991, allocations: 0 / 0.9556 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.003673/0.9947, allocations: 0.8228 MB / 0.9564 GB, free: 2.77 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