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.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.52 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.293, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002988/0.296, allocations: 1.486 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.2964, allocations: 123.6 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.2965, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.2966, allocations: 7.922 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.2967, allocations: 11.94 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2969, allocations: 27.91 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.297, allocations: 43.84 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.2971, allocations: 8 kB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.2972, allocations: 19.92 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.2972, allocations: 23.89 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2973, allocations: 4 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.2974, allocations: 39.97 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.2974, allocations: 19.92 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.2975, allocations: 15.88 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2976, allocations: 75.77 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2976, allocations: 0 / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.657e-06/0.2977, allocations: 4 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2977, allocations: 0 / 1.055 GB, free: 6.359 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.0005587/0.2982, allocations: 379.6 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2983, allocations: 12.62 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2983, allocations: 38.69 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2984, allocations: 4.844 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2985, allocations: 176.3 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2985, allocations: 8.375 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2985, allocations: 384 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.2989, allocations: 110.1 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2989, allocations: 3.938 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2989, allocations: 4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.2989, allocations: 19.92 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.2993, allocations: 123.8 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.2998, allocations: 340.6 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3, allocations: 58.55 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3002, allocations: 44.91 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.3005, allocations: 129.1 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3006, allocations: 34.56 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3006, allocations: 3.938 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000565/0.3011, allocations: 137.6 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3012, allocations: 59.34 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3013, allocations: 142.8 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3013, allocations: 29.7 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.3014, allocations: 119.6 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.3014, allocations: 11.89 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.3015, allocations: 29.72 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3016, allocations: 318.8 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3018, allocations: 47.95 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.302, allocations: 117.3 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.3024, allocations: 165.2 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3024, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004525/0.3028, allocations: 181.5 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3029, allocations: 13.78 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3029, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3029, allocations: 7.938 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3031, allocations: 39.91 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3031, allocations: 0 / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3032, allocations: 27.83 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3032, allocations: 8 kB / 1.058 GB, free: 3.156 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 0.0001012/0.3034, allocations: 135.2 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3034, allocations: 7.906 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.3038, allocations: 113.9 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3038, allocations: 3.938 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3038, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3038, allocations: 3.938 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.304, allocations: 177.6 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.304, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3041, allocations: 19.97 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3041, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3042, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3042, allocations: 7.938 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3042, allocations: 4 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.3046, allocations: 203.3 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.3046, allocations: 85 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3046, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3048, allocations: 19.92 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3048, allocations: 12 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3048, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.99e-05/0.3049, allocations: 107.2 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3049, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002837/0.3052, allocations: 19.94 kB / 1.058 GB, free: 2.152 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.0007274/0.3059, allocations: 0.7361 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.3064, allocations: 112.5 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3064, allocations: 3.938 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3065, allocations: 35.95 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3069, allocations: 13.5 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.3075, allocations: 199.5 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3078, allocations: 0.6924 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.3079, allocations: 24.41 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.308, allocations: 27.42 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.308, allocations: 0 / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.3283, allocations: 2.14 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.612, allocations: 10.47 kB / 1.062 GB, free: 14.13 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