Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 111.3 kB / 15.34 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.001762/0.001762, allocations: 190.9 kB / 16.25 MB, free: 6.148 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6961, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002791/0.6989, allocations: 1.546 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000294/0.6992, allocations: 124.5 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.6992, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.6993, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.6994, allocations: 3.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.6996, allocations: 31.89 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.6997, allocations: 47.86 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.6998, allocations: 11.98 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.6998, allocations: 15.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.6998, allocations: 23.86 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.6999, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.6999, allocations: 39.95 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.7, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.7, allocations: 27.8 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.7002, allocations: 75.77 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7002, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7002, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7002, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 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.0004787/0.7007, allocations: 378.9 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7007, allocations: 11.97 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.7008, allocations: 42.73 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.7008, allocations: 12.84 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.7009, allocations: 168.2 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.701, allocations: 12.36 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.701, allocations: 384 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.7013, allocations: 121.2 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7013, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.7013, allocations: 3.984 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.7013, allocations: 8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.7017, allocations: 127.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.7021, allocations: 336.6 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.7023, allocations: 58.47 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.7025, allocations: 52.84 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.7027, allocations: 117.1 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.7028, allocations: 38.55 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7028, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005151/0.7033, allocations: 133.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7033, allocations: 55.34 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.7035, allocations: 151.1 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7035, allocations: 25.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.7036, allocations: 119.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.7036, allocations: 23.66 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.7036, allocations: 29.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7037, allocations: 314.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.7039, allocations: 51.94 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.7041, allocations: 109.4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.7044, allocations: 169.2 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7045, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004144/0.7049, allocations: 177.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7049, allocations: 11.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7049, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7049, allocations: 3.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.7051, allocations: 44.23 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.7051, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.7052, allocations: 19.83 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.7053, allocations: 8 kB / 1.022 GB, free: 13.51 MB / 0.7794 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.649e-05/0.7054, allocations: 126.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.7054, allocations: 7.906 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.7058, allocations: 117.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.7058, allocations: 3.938 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7058, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7058, allocations: 3.938 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.706, allocations: 177.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.706, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.7061, allocations: 15.98 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7061, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7061, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7061, allocations: 7.875 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7061, allocations: 3.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.7065, allocations: 203.7 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.7065, allocations: 81.02 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.7065, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7066, allocations: 23.91 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.7067, allocations: 4 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.7067, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.7068, allocations: 116.5 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7068, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002548/0.707, allocations: 16 kB / 1.023 GB, free: 12.51 MB / 0.7794 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.0006674/0.7077, allocations: 0.7396 MB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.7081, allocations: 103.8 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7081, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7082, allocations: 40.59 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.7085, allocations: 14.27 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.7091, allocations: 215.6 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7093, allocations: 0.6924 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.562e-05/0.7094, allocations: 24.41 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.7095, allocations: 31.42 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7095, allocations: 0 / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.699/2.408, allocations: 1.967 MB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/2.408, allocations: 185.2 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/4.232, allocations: 4 kB / 1.026 GB, free: 8.438 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches