Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_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.007375/0.007376, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00166/0.00166, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.47 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2654, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002462/0.2679, allocations: 1.473 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.2682, allocations: 124.5 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2683, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.2683, allocations: 3.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.2684, allocations: 15.86 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2686, allocations: 31.95 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.2687, allocations: 51.78 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.2688, allocations: 8 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2689, allocations: 19.92 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.2689, allocations: 19.92 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2689, allocations: 4 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.269, allocations: 39.95 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.2691, allocations: 19.86 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.2691, allocations: 23.86 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2692, allocations: 71.78 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2693, allocations: 3.938 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2693, allocations: 0 / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2693, allocations: 0 / 1.089 GB, free: 68 kB / 0.8419 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.0005313/0.2698, allocations: 382.9 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2698, allocations: 12.03 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2699, allocations: 42.67 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.2699, allocations: 4.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.27, allocations: 176.2 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2701, allocations: 384 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.2701, allocations: 384 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.2704, allocations: 114.2 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2704, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2704, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.2704, allocations: 15.92 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.2708, allocations: 119.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.2712, allocations: 352.5 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.2714, allocations: 54.55 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2716, allocations: 40.91 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.2719, allocations: 129 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2719, allocations: 38.56 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2719, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.2725, allocations: 133.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2726, allocations: 55.34 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2727, allocations: 143.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2727, allocations: 25.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.2728, allocations: 123.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.2728, allocations: 19.83 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.2729, allocations: 25.72 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.273, allocations: 322.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2732, allocations: 43.95 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2734, allocations: 119.3 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.2738, allocations: 177.2 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2738, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004558/0.2743, allocations: 185.4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2743, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2743, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2743, allocations: 7.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2745, allocations: 39.91 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2745, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2746, allocations: 23.83 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2746, allocations: 4.188 kB / 1.092 GB, free: 12.86 MB / 0.8575 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.206e-05/0.2747, allocations: 137.7 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.2748, allocations: 7.906 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.2752, allocations: 113.9 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2752, allocations: 3.938 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2752, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2752, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.2754, allocations: 173.6 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2754, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2755, allocations: 19.97 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2755, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2756, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2756, allocations: 7.938 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2756, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.276, allocations: 195.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.276, allocations: 81.02 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.276, allocations: 11.98 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2761, allocations: 15.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.2762, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2762, allocations: 8 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.2763, allocations: 109.3 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2763, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002709/0.2766, allocations: 20 kB / 1.093 GB, free: 11.86 MB / 0.8575 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.0006636/0.2772, allocations: 0.7318 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.2776, allocations: 104.2 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2777, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.2778, allocations: 47.83 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2781, allocations: 12.31 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.2787, allocations: 195.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2789, allocations: 0.6889 MB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.554e-05/0.279, allocations: 24.41 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.2791, allocations: 27.42 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.2791, allocations: 4 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.2965, allocations: 2.212 MB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.939, allocations: 6.438 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches