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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001405/0.001405, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.08 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5663, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003356/0.5697, allocations: 1.554 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004438/0.5702, allocations: 128.5 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.5703, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.5703, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.5704, allocations: 11.92 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.5706, allocations: 19.98 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.5708, allocations: 47.78 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5709, allocations: 11.98 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.5709, allocations: 19.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.571, allocations: 23.91 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.571, allocations: 0 / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.5711, allocations: 35.97 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.5712, allocations: 15.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.5712, allocations: 23.88 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.5714, allocations: 67.77 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5714, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5714, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5714, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 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.0006097/0.572, allocations: 381.6 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5721, allocations: 12.03 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.5721, allocations: 42.69 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.5722, allocations: 12.84 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5723, allocations: 176.2 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.5723, allocations: 384 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5723, allocations: 384 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.5726, allocations: 114.1 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.5727, allocations: 4 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5727, allocations: 3.984 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.5727, allocations: 15.92 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.5731, allocations: 123.9 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.5736, allocations: 344.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5738, allocations: 58.53 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.574, allocations: 40.92 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.5743, allocations: 129 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5743, allocations: 30.56 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5743, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005473/0.5749, allocations: 137.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5749, allocations: 55.34 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.575, allocations: 152.2 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.5751, allocations: 25.7 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.5751, allocations: 123.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5752, allocations: 15.89 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.5752, allocations: 25.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5754, allocations: 326.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.5755, allocations: 39.95 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5757, allocations: 121.3 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.5761, allocations: 161.2 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5761, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004306/0.5765, allocations: 185.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5766, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5766, allocations: 4.312 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5766, allocations: 11.94 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5768, allocations: 39.91 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5768, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5769, allocations: 23.83 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.5769, allocations: 4 kB / 1.021 GB, free: 13.62 MB / 0.7794 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.0001032/0.577, allocations: 130.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.5771, allocations: 11.84 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5775, allocations: 113.9 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5775, allocations: 3.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5775, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5775, allocations: 8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.5777, allocations: 173.6 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5777, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.5778, allocations: 19.91 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5778, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5778, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.5778, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5778, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.5782, allocations: 203.6 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.5783, allocations: 85 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5783, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5784, allocations: 15.92 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.5785, allocations: 7.984 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5785, allocations: 8 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.5786, allocations: 104.5 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5786, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002799/0.5788, allocations: 20 kB / 1.022 GB, free: 12.62 MB / 0.7794 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.0006749/0.5795, allocations: 0.7474 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.5799, allocations: 96.47 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5799, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5801, allocations: 47.89 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5804, allocations: 11.94 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.5809, allocations: 221.2 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5812, allocations: 0.6887 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.5813, allocations: 28.41 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.5814, allocations: 19.44 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5814, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.5929, allocations: 1.915 MB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.5931, allocations: 194 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.35, allocations: 0 / 1.026 GB, free: 8.578 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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