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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009163/0.0009164, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005692/0.005693, allocations: 172.3 kB / 16.27 MB, free: 6.66 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 9.5 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00132/0.2231, allocations: 1.214 MB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.2234, allocations: 123.7 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.2234, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.2235, allocations: 3.938 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.2235, allocations: 11.92 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.2237, allocations: 27.92 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.2238, allocations: 43.84 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.2238, allocations: 11.98 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.2239, allocations: 15.92 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.2239, allocations: 19.92 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.224, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.985e-05/0.224, allocations: 35.95 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.2241, allocations: 7.938 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2241, allocations: 53.56 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2242, allocations: 67.77 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2242, allocations: 0 / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2242, allocations: 0 / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2242, allocations: 0 / 1.06 GB, free: 3.215 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.0004285/0.2247, allocations: 383.6 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2247, allocations: 11.97 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.2248, allocations: 38.75 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.2248, allocations: 12.77 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/0.2249, allocations: 172.2 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2249, allocations: 8.312 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.2249, allocations: 384 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2252, allocations: 126.1 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2252, allocations: 3.938 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2252, allocations: 4 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.2252, allocations: 7.984 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.2256, allocations: 146.6 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.226, allocations: 344.6 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2262, allocations: 70.53 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2263, allocations: 52.92 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.2266, allocations: 117.1 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2266, allocations: 34.56 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2266, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005578/0.2272, allocations: 169.4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2272, allocations: 59.34 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.2273, allocations: 147.4 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2273, allocations: 33.7 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.2274, allocations: 111.7 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2274, allocations: 15.8 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2274, allocations: 17.72 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.2275, allocations: 318.8 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2277, allocations: 63.95 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.2279, allocations: 121.4 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.2283, allocations: 193.2 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2283, allocations: 0 / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004396/0.2287, allocations: 201.6 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2287, allocations: 8 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2288, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2288, allocations: 7.938 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2289, allocations: 40.2 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2289, allocations: 4 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2291, allocations: 39.8 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2291, allocations: 11.94 kB / 1.063 GB, free: 15.87 MB / 0.8262 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 7.256e-05/0.2292, allocations: 121.8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2292, allocations: 11.89 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.2296, allocations: 137.8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2296, allocations: 7.938 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2296, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2296, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.2298, allocations: 177.6 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2298, allocations: 7.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.2299, allocations: 23.97 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2299, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2299, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2299, allocations: 7.938 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2299, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.2303, allocations: 219.4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.2303, allocations: 85 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.2303, allocations: 4 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2304, allocations: 23.86 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.2305, allocations: 8 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2305, allocations: 7.984 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2306, allocations: 105.1 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2306, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000243/0.2308, allocations: 16 kB / 1.064 GB, free: 14.82 MB / 0.8262 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.0005911/0.2314, allocations: 0.7475 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.2318, allocations: 136.4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2318, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.232, allocations: 47.95 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2322, allocations: 15.94 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.2327, allocations: 226.6 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2329, allocations: 0.6926 MB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.609e-05/0.233, allocations: 28.41 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.233, allocations: 23.42 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.233, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9138/1.147, allocations: 1.846 MB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.147, allocations: 198.3 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.827, allocations: 3.938 kB / 1.068 GB, free: 10.82 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