Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_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.007593/0.007593, allocations: 103 kB / 15.73 MB, free: 6.004 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.001399/0.001399, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.11 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8264, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002932/0.8294, allocations: 1.491 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.8298, allocations: 123.7 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.8298, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.8299, allocations: 3.938 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.83, allocations: 11.88 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.8302, allocations: 39.94 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.8303, allocations: 47.78 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.8304, allocations: 8 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.8305, allocations: 23.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.8305, allocations: 15.92 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.8305, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.8306, allocations: 39.95 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.8307, allocations: 11.98 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.8307, allocations: 23.81 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.8308, allocations: 71.77 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8308, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8308, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8309, allocations: 4 kB / 1.21 GB, free: 11.67 MB / 0.9356 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.0005206/0.8314, allocations: 380.9 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.8314, allocations: 8.031 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.8315, allocations: 8.844 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.8316, allocations: 176.2 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8316, allocations: 4.375 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.8316, allocations: 4.375 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.8319, allocations: 110.2 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8319, allocations: 192 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8319, allocations: 11.94 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.832, allocations: 11.94 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.8323, allocations: 123.8 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.8327, allocations: 344.5 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.833, allocations: 54.53 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.8331, allocations: 36.92 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.8334, allocations: 129.1 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.8334, allocations: 30.56 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.8334, allocations: 4 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005557/0.834, allocations: 137.4 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.8341, allocations: 55.34 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.8342, allocations: 143.7 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.8342, allocations: 29.7 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.8343, allocations: 127.7 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.8343, allocations: 7.906 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.8343, allocations: 33.61 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.8344, allocations: 318.8 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.8346, allocations: 47.95 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.8348, allocations: 121.3 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.8352, allocations: 165.2 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8352, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004466/0.8357, allocations: 181.6 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.8357, allocations: 4 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8357, allocations: 7.984 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8357, allocations: 7.984 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8359, allocations: 35.91 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8359, allocations: 7.938 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.836, allocations: 36.09 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.8361, allocations: 12 kB / 1.212 GB, free: 8.512 MB / 0.9356 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 8.735e-05/0.8362, allocations: 113.8 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.8362, allocations: 7.906 kB / 1.212 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.8366, allocations: 125.8 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8366, allocations: 3.938 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8366, allocations: 4 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8366, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.8368, allocations: 173.6 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8368, allocations: 0 / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.8369, allocations: 15.98 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8369, allocations: 0 / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8369, allocations: 4 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8369, allocations: 3.938 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8369, allocations: 0 / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.8373, allocations: 203.3 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.8374, allocations: 88.95 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.8374, allocations: 4 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8375, allocations: 11.92 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.8375, allocations: 11.98 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8376, allocations: 4 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.8376, allocations: 109.3 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8376, allocations: 0 / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002666/0.8379, allocations: 16 kB / 1.213 GB, free: 7.523 MB / 0.9356 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.0001317/0.838, allocations: 99.25 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.8384, allocations: 107.8 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8385, allocations: 0 / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.8386, allocations: 40.58 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.8389, allocations: 11.95 kB / 1.213 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.8392, allocations: 165.8 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.8395, allocations: 0.6923 MB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.149e-05/0.8396, allocations: 28.41 kB / 1.214 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.8396, allocations: 15.44 kB / 1.214 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8396, allocations: 0 / 1.214 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.00311/0.8427, allocations: 1.001 MB / 1.215 GB, free: 5.316 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches