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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.214/2.214, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.6007, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002206/0.6029, allocations: 1.476 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.6032, allocations: 126.2 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.6033, allocations: 0 / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.6033, allocations: 3.938 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.6034, allocations: 11.19 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.6036, allocations: 27.05 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.6036, allocations: 42.02 kB / 0.9514 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.6037, allocations: 13.58 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.6038, allocations: 25.28 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.6038, allocations: 17.33 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.6038, allocations: 5.062 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.6039, allocations: 38.11 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.604, allocations: 11.84 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.604, allocations: 28.8 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.6041, allocations: 72.34 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6041, allocations: 0 / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6041, allocations: 1.281 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6041, allocations: 0 / 0.9516 GB, free: 7.656 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.0004199/0.6046, allocations: 385.9 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6046, allocations: 9.719 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.6046, allocations: 37.67 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.6047, allocations: 7.562 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.386e-05/0.6047, allocations: 175 kB / 0.9522 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.6048, allocations: 5.906 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.6048, allocations: 5.766 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.605, allocations: 120 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.6051, allocations: 3.938 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.6051, allocations: 1.969 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.6051, allocations: 10.59 kB / 0.9523 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.6054, allocations: 122 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.6058, allocations: 346.7 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.6059, allocations: 57.69 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.6061, allocations: 35.61 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.6063, allocations: 123.5 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.6064, allocations: 39.69 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6064, allocations: 0 / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005066/0.6069, allocations: 136.9 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.6069, allocations: 56.62 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.607, allocations: 146 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.607, allocations: 30.92 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.607, allocations: 120.1 kB / 0.9535 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.6071, allocations: 10.03 kB / 0.9535 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.6071, allocations: 31.48 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.6071, allocations: 321.1 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.6073, allocations: 46.45 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.6075, allocations: 116.5 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.6078, allocations: 168 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6078, allocations: 1.688 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000379/0.6082, allocations: 183.2 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6082, allocations: 6.594 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6082, allocations: 6.578 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.6082, allocations: 8.156 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.6084, allocations: 29.8 kB / 0.9543 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.6084, allocations: 6.516 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.6085, allocations: 35.58 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.6085, allocations: 6.906 kB / 0.9544 GB, free: 5.094 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 5.264e-05/0.6086, allocations: 116.6 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.6086, allocations: 7.375 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.609, allocations: 127 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.609, allocations: 3.938 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.609, allocations: 1.312 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.609, allocations: 0 / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.6091, allocations: 177.7 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6091, allocations: 0 / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.6092, allocations: 15.2 kB / 0.9548 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6092, allocations: 5 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6092, allocations: 1.375 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6092, allocations: 7.875 kB / 0.9548 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6092, allocations: 3.984 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.6096, allocations: 199.8 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.6096, allocations: 82.42 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.6096, allocations: 1.531 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.6097, allocations: 18.86 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.6097, allocations: 9.109 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.6098, allocations: 2.875 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.6098, allocations: 114.2 kB / 0.9552 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6098, allocations: 3.938 kB / 0.9552 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002499/0.6101, allocations: 15.47 kB / 0.9553 GB, free: 4.266 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.0004685/0.6105, allocations: 0.7318 MB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.6109, allocations: 110.3 kB / 0.9561 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6109, allocations: 0 / 0.9561 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.611, allocations: 34.03 kB / 0.9561 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6113, allocations: 20.38 kB / 0.9561 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.6117, allocations: 215.5 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.6118, allocations: 0.6893 MB / 0.957 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.57e-05/0.6119, allocations: 29.06 kB / 0.957 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.612, allocations: 20.78 kB / 0.9571 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.612, allocations: 0 / 0.9571 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.194/2.806, allocations: 2.148 MB / 0.9592 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/13.56, allocations: 0.9375 kB / 0.9592 GB, free: 1.402 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > 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