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.001823/0.001824, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002361/0.002361, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.696/1.696, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.5 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2748, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002453/0.2773, allocations: 1.545 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.2775, allocations: 123.6 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.2776, allocations: 0 / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.2776, allocations: 3.984 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.2777, allocations: 11.94 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2779, allocations: 27.91 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.278, allocations: 47.86 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.2781, allocations: 7.984 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.2781, allocations: 19.92 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.2782, allocations: 23.91 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2782, allocations: 8 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.2783, allocations: 35.97 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.2783, allocations: 15.92 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.2784, allocations: 27.8 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2785, allocations: 67.78 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2785, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2785, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2785, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 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.000501/0.279, allocations: 383.6 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2791, allocations: 8.625 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2791, allocations: 42.73 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2791, allocations: 8.781 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.2792, allocations: 168.3 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.2793, allocations: 384 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2793, allocations: 4.375 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.2796, allocations: 118.1 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2796, allocations: 7.938 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2796, allocations: 4 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.2796, allocations: 15.92 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.28, allocations: 115.9 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.2804, allocations: 348.6 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2806, allocations: 66.47 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2807, allocations: 32.92 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.281, allocations: 129.2 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.281, allocations: 30.56 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.281, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.2816, allocations: 133.6 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2816, allocations: 59.28 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2817, allocations: 155.2 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2818, allocations: 25.7 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.2818, allocations: 123.6 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.2818, allocations: 7.906 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.2819, allocations: 29.72 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.282, allocations: 318.8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2822, allocations: 47.95 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2824, allocations: 116.5 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.2828, allocations: 177.3 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2828, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004183/0.2833, allocations: 177.6 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2833, allocations: 5.719 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2833, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2833, allocations: 7.938 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2835, allocations: 39.91 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2835, allocations: 4 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2836, allocations: 23.83 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.2836, allocations: 11.98 kB / 1.057 GB, free: 3.465 MB / 0.8106 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 8.884e-05/0.2837, allocations: 135.3 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.2838, allocations: 3.906 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.2842, allocations: 117.8 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2842, allocations: 7.938 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2842, allocations: 3.938 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2842, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2844, allocations: 177.6 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2844, allocations: 3.938 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.2845, allocations: 19.92 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2845, allocations: 0 / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2845, allocations: 0 / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2845, allocations: 3.938 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2845, allocations: 4 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.2849, allocations: 195.4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.2849, allocations: 89.02 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.2849, allocations: 4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2851, allocations: 19.92 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.2851, allocations: 3.984 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2851, allocations: 4 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.2852, allocations: 103.3 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2852, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002659/0.2855, allocations: 20 kB / 1.058 GB, free: 2.465 MB / 0.8106 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.0006502/0.2861, allocations: 0.7396 MB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.2865, allocations: 112.4 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2865, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2867, allocations: 31.97 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.287, allocations: 13.66 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.2875, allocations: 223.5 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2878, allocations: 0.6885 MB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.856e-05/0.2879, allocations: 24.78 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.288, allocations: 27.44 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.288, allocations: 0 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.729/3.017, allocations: 1.974 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/3.017, allocations: 191.5 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/5.146, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 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