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.008072/0.008072, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001256/0.001256, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7585, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002441/0.761, allocations: 1.49 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.7613, allocations: 123.8 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.7613, allocations: 1.031 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.7614, allocations: 4.453 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.7614, allocations: 15.41 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.7617, allocations: 30.81 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.7618, allocations: 43 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.7619, allocations: 14.66 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.7619, allocations: 17.59 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.762, allocations: 19.48 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.762, allocations: 4.094 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.7621, allocations: 36.3 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.7622, allocations: 19.03 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.7622, allocations: 22.23 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.7624, allocations: 71.3 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7624, allocations: 0.9688 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7624, allocations: 0.6094 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.7624, allocations: 0 / 1.089 GB, free: 4.047 MB / 0.8575 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.0005217/0.763, allocations: 387.3 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.763, allocations: 10.14 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.7631, allocations: 41.83 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.7631, allocations: 8.938 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.7632, allocations: 173 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7632, allocations: 5.719 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7632, allocations: 1.406 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.7636, allocations: 115.7 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.7636, allocations: 4.688 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7636, allocations: 0 / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.7637, allocations: 13.95 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.7641, allocations: 124.3 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.7646, allocations: 344.7 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.7648, allocations: 61.05 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.765, allocations: 37.36 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.7653, allocations: 126.5 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7654, allocations: 40.55 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.7654, allocations: 0 / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006251/0.766, allocations: 135.6 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.766, allocations: 60.91 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.7661, allocations: 150.8 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.7662, allocations: 30.77 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.7662, allocations: 121.5 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.7663, allocations: 6.359 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.7663, allocations: 30.55 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.7664, allocations: 319.8 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7666, allocations: 45.03 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.7668, allocations: 115.2 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.7672, allocations: 168.4 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7672, allocations: 0.875 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004997/0.7677, allocations: 184.9 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.7678, allocations: 9.547 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7678, allocations: 2.281 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7678, allocations: 7.344 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.768, allocations: 33 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.768, allocations: 8.234 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.7681, allocations: 28.12 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.7682, allocations: 11.81 kB / 1.092 GB, free: 1.738 MB / 0.8575 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.123e-05/0.7682, allocations: 122.2 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.7683, allocations: 7.547 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.7687, allocations: 119.6 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7687, allocations: 4.625 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7687, allocations: 1.484 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7687, allocations: 0 / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.7689, allocations: 177.5 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7689, allocations: 0.875 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.769, allocations: 15.89 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.769, allocations: 5.703 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.769, allocations: 1.156 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.769, allocations: 7.938 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.769, allocations: 1.422 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.7694, allocations: 200.9 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.7694, allocations: 92.45 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.7694, allocations: 0.7969 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.7695, allocations: 18.95 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.7696, allocations: 8.344 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.7696, allocations: 3.312 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.7696, allocations: 106.2 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7697, allocations: 0 / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002865/0.7699, allocations: 19.69 kB / 1.093 GB, free: 0.9844 MB / 0.8575 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.0007898/0.7707, allocations: 0.7314 MB / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.7712, allocations: 107.4 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7712, allocations: 0 / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7714, allocations: 43.94 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.7718, allocations: 8.281 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.7724, allocations: 207.6 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.7727, allocations: 0.6944 MB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.894e-05/0.7728, allocations: 28.5 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.7728, allocations: 22.41 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7728, allocations: 4.75 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.7914, allocations: 2.182 MB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.357, allocations: 12.31 kB / 1.097 GB, free: 14.93 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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