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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_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.01073/0.01073, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002145/0.002146, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.89 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3767, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003362/0.3801, allocations: 1.496 MB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.3805, allocations: 115.7 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.3806, allocations: 4 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.3806, allocations: 3.938 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.3807, allocations: 15.86 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.381, allocations: 19.97 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3811, allocations: 51.78 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3812, allocations: 8 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.3813, allocations: 19.98 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.3814, allocations: 31.83 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3814, allocations: 4 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3815, allocations: 35.97 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3816, allocations: 11.98 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.3817, allocations: 23.81 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.3818, allocations: 71.77 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3818, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3819, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3819, allocations: 4 kB / 1.209 GB, free: 8.215 MB / 0.9669 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.0006492/0.3825, allocations: 395.4 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3826, allocations: 8.625 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.3826, allocations: 34.75 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3827, allocations: 8.844 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3828, allocations: 172.3 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3828, allocations: 4.375 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3828, allocations: 384 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3832, allocations: 118.1 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3832, allocations: 3.938 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3832, allocations: 0 / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.3832, allocations: 11.98 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3836, allocations: 123.8 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3842, allocations: 348.6 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.3844, allocations: 50.55 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3846, allocations: 36.91 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/0.3849, allocations: 129.2 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.385, allocations: 34.5 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.385, allocations: 0 / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005652/0.3856, allocations: 137.5 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3856, allocations: 55.34 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3858, allocations: 147.6 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3858, allocations: 25.7 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3859, allocations: 123.6 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.386, allocations: 11.89 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.386, allocations: 33.62 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3862, allocations: 314.8 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3864, allocations: 47.95 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3866, allocations: 117.3 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.387, allocations: 173.4 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.387, allocations: 4 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004455/0.3875, allocations: 181.4 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3875, allocations: 8 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3875, allocations: 3.938 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.3876, allocations: 7.938 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3877, allocations: 35.97 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.3878, allocations: 3.938 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3879, allocations: 27.83 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.3879, allocations: 8 kB / 1.212 GB, free: 5.012 MB / 0.9669 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 0.0001158/0.3881, allocations: 129.9 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3881, allocations: 8 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.3886, allocations: 121.8 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3886, allocations: 3.938 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3886, allocations: 3.938 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3886, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3888, allocations: 177.5 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3888, allocations: 0 / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.724e-05/0.389, allocations: 19.97 kB / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.389, allocations: 0 / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.389, allocations: 0 / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.389, allocations: 7.938 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.389, allocations: 4 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3894, allocations: 191.4 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3894, allocations: 89 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3895, allocations: 0 / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3896, allocations: 19.92 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3896, allocations: 4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.3896, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.3897, allocations: 108.7 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3897, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002813/0.39, allocations: 16 kB / 1.213 GB, free: 4.02 MB / 0.9669 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.0007109/0.3907, allocations: 0.7319 MB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.3912, allocations: 112.3 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3912, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.3913, allocations: 39.89 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3917, allocations: 15.89 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3923, allocations: 211.9 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.3928, allocations: 0.6889 MB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.959e-05/0.3929, allocations: 28.41 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.3929, allocations: 23.42 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.393, allocations: 0 / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.4131, allocations: 2.238 MB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.074, allocations: 2.781 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches