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.008474/0.008474, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00197/0.00197, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.476/2.476, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 63.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8103, allocations: 151.6 MB / 1.166 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002788/0.8131, allocations: 1.484 MB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.8135, allocations: 119 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.8136, allocations: 0 / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.8136, allocations: 3.938 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.8137, allocations: 11.86 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.814, allocations: 35.95 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.8141, allocations: 47.84 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.8142, allocations: 7.938 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.8142, allocations: 15.98 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.8143, allocations: 23.86 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.8143, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.8144, allocations: 43.95 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.8145, allocations: 15.97 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.8146, allocations: 23.81 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.8147, allocations: 70.45 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8148, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8148, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.8148, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 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.0006519/0.8154, allocations: 392.1 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8155, allocations: 8.625 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.8155, allocations: 46.62 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.8156, allocations: 4.891 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.8157, allocations: 176.3 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.8157, allocations: 384 / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.8158, allocations: 8.312 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.8161, allocations: 110.2 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8161, allocations: 3.938 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.8161, allocations: 0 / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.8162, allocations: 15.97 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.8165, allocations: 129.6 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.8171, allocations: 344.7 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.8174, allocations: 54.55 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.8176, allocations: 40.91 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.8179, allocations: 129 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.8179, allocations: 34.5 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.8179, allocations: 0 / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005668/0.8185, allocations: 133.5 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8186, allocations: 63.33 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.8187, allocations: 144.5 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8187, allocations: 25.7 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.8188, allocations: 123.8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.8188, allocations: 11.89 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.8189, allocations: 29.72 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.819, allocations: 318.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.8192, allocations: 51.95 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.8195, allocations: 106.2 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.8198, allocations: 169.2 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8199, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004696/0.8203, allocations: 189.3 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8204, allocations: 8 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8204, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8204, allocations: 7.938 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.8206, allocations: 40.22 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.8206, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8207, allocations: 23.88 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.8208, allocations: 12 kB / 1.171 GB, free: 14.79 MB / 0.9044 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.443e-05/0.8209, allocations: 129.7 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.8209, allocations: 7.891 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.8213, allocations: 117.9 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.8213, allocations: 7.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8213, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.8213, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.8215, allocations: 181.6 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8215, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.8216, allocations: 19.97 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.8216, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8217, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8217, allocations: 3.938 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8217, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.8221, allocations: 207.6 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.8221, allocations: 85.06 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.8221, allocations: 3.984 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8223, allocations: 15.92 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.8223, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8223, allocations: 4 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.499e-05/0.8224, allocations: 107.2 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8224, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002743/0.8227, allocations: 20 kB / 1.172 GB, free: 13.77 MB / 0.9044 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.0006942/0.8234, allocations: 0.7358 MB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.8238, allocations: 99.84 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8238, allocations: 0 / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.824, allocations: 40.52 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8243, allocations: 18.44 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.8248, allocations: 199.4 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.8251, allocations: 0.6962 MB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.107e-05/0.8252, allocations: 24.41 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.8253, allocations: 27.42 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.8253, allocations: 0 / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.8442, allocations: 2.19 MB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.546, allocations: 12.53 kB / 1.176 GB, free: 9.723 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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