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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.006422/0.006423, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001211/0.001211, allocations: 194.5 kB / 16.68 MB, free: 5.523 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.654/2.654, allocations: 469.4 MB / 0.7421 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 55.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8155, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002743/0.8183, allocations: 1.479 MB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.8186, allocations: 131.6 kB / 1.221 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.8187, allocations: 4 kB / 1.221 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.092e-05/0.8188, allocations: 3.984 kB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.8189, allocations: 15.86 kB / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.8191, allocations: 19.97 kB / 1.221 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.8193, allocations: 51.78 kB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.8194, allocations: 8 kB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.8195, allocations: 19.98 kB / 1.221 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.8195, allocations: 27.84 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.8195, allocations: 4 kB / 1.221 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.8196, allocations: 31.97 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.8197, allocations: 15.98 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.8197, allocations: 23.8 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.8199, allocations: 74.39 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8199, allocations: 0 / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of FrontEnd: time 3.997e-06/0.8199, allocations: 4 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.82, allocations: 0 / 1.222 GB, free: 356 kB / 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.0005945/0.8206, allocations: 392.1 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8206, allocations: 8.625 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.8207, allocations: 38.73 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.8207, allocations: 12.81 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.8208, allocations: 164.4 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.8208, allocations: 8.375 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8209, allocations: 384 / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.8212, allocations: 114.1 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8212, allocations: 3.938 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.8212, allocations: 4 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.8213, allocations: 11.98 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.8216, allocations: 123.8 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.8222, allocations: 340.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.8224, allocations: 62.47 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.8226, allocations: 40.91 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.8229, allocations: 125.1 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.8229, allocations: 30.56 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.8229, allocations: 4 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005901/0.8235, allocations: 133.5 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.8236, allocations: 55.34 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.8237, allocations: 147.6 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.8237, allocations: 29.69 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.8238, allocations: 131.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.8239, allocations: 11.91 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.8239, allocations: 25.72 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.824, allocations: 322.8 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.8242, allocations: 47.95 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.8244, allocations: 117.4 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.8248, allocations: 161.2 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8249, allocations: 4 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004524/0.8253, allocations: 181.4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8253, allocations: 8 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8253, allocations: 0 / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.8254, allocations: 7.938 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8255, allocations: 39.91 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8256, allocations: 3.938 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.8257, allocations: 27.88 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.8257, allocations: 8.219 kB / 1.224 GB, free: 13.14 MB / 0.9512 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 9.521e-05/0.8258, allocations: 134.2 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.8258, allocations: 11.95 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.8262, allocations: 117.9 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8263, allocations: 3.938 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8263, allocations: 3.984 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8263, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.8265, allocations: 169.7 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8265, allocations: 3.984 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.8266, allocations: 19.92 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.8266, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.8266, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8266, allocations: 7.938 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8266, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.827, allocations: 199.4 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.8271, allocations: 81.06 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8271, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.8272, allocations: 19.92 kB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.8273, allocations: 8.312 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.8273, allocations: 4 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.108e-05/0.8273, allocations: 105.6 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8273, allocations: 0 / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002709/0.8276, allocations: 16 kB / 1.225 GB, free: 12.15 MB / 0.9512 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.0007004/0.8283, allocations: 0.7397 MB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.8287, allocations: 112.2 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8288, allocations: 0 / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.8289, allocations: 35.95 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.8293, allocations: 15.88 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.8298, allocations: 215.5 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.8301, allocations: 0.6885 MB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.652e-05/0.8301, allocations: 24.41 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.8302, allocations: 23.38 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.8302, allocations: 0 / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.848, allocations: 2.199 MB / 1.229 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.599, allocations: 4.531 kB / 1.229 GB, free: 8.078 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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