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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000929/0.000929, 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.0009988/0.0009986, allocations: 198.1 kB / 16.14 MB, free: 6.719 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: 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 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7703, allocations: 140.4 MB / 0.949 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002365/0.7727, allocations: 1.543 MB / 0.9505 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.773, allocations: 118.8 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.773, allocations: 0 / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.7731, allocations: 13.3 kB / 0.9507 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.7731, allocations: 6.688 kB / 0.9507 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.7733, allocations: 24.09 kB / 0.9507 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.7734, allocations: 45.67 kB / 0.9507 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.7734, allocations: 5.5 kB / 0.9508 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.7735, allocations: 17.42 kB / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.7735, allocations: 26.84 kB / 0.9508 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7735, allocations: 6.891 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.18e-05/0.7736, allocations: 33.25 kB / 0.9508 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.7737, allocations: 12.14 kB / 0.9508 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.7737, allocations: 24.16 kB / 0.9509 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.7738, allocations: 71.3 kB / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7738, allocations: 1.156 kB / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.7738, allocations: 0 / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.7738, allocations: 3.938 kB / 0.9509 GB, free: 7.949 MB / 0.7169 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.0004007/0.7742, allocations: 383.3 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7743, allocations: 9.531 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.253e-05/0.7743, allocations: 36.19 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.7743, allocations: 7.312 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.7744, allocations: 183.5 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.7744, allocations: 2.531 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.7744, allocations: 5.562 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.7747, allocations: 114.2 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7747, allocations: 3.938 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.7747, allocations: 0 / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.7748, allocations: 17.02 kB / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.7751, allocations: 113.1 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.7754, allocations: 355.4 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.7756, allocations: 60.97 kB / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.7758, allocations: 36.48 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.776, allocations: 123.3 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.776, allocations: 34.56 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.776, allocations: 4 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.7765, allocations: 137.2 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.7766, allocations: 56.62 kB / 0.9525 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.7767, allocations: 140.9 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-06/0.7767, allocations: 25.7 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.7767, allocations: 129.3 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.7767, allocations: 10.16 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.7768, allocations: 27.38 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.7768, allocations: 325.7 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.777, allocations: 45.08 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.7772, allocations: 117.2 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.7775, allocations: 167.7 kB / 0.9535 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7775, allocations: 0.9062 kB / 0.9535 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003997/0.7779, allocations: 184 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7779, allocations: 7.688 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.778, allocations: 2.312 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.778, allocations: 7.156 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.7781, allocations: 33.44 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7781, allocations: 7.188 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7783, allocations: 27.73 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.7783, allocations: 7.219 kB / 0.9538 GB, free: 5.391 MB / 0.7169 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 6.287e-05/0.7784, allocations: 124.3 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.7784, allocations: 7.438 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.7788, allocations: 122 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7788, allocations: 9.438 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7788, allocations: 3.984 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.7788, allocations: 0 / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.7789, allocations: 173.8 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7789, allocations: 1.188 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.779, allocations: 22.19 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.779, allocations: 1.219 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.779, allocations: 5.562 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.779, allocations: 3.938 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.779, allocations: 0 / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.7794, allocations: 207.2 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.7794, allocations: 79.64 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.7794, allocations: 4 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7795, allocations: 14.55 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.7796, allocations: 6.672 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.7796, allocations: 2.094 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.7796, allocations: 109.3 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7796, allocations: 0 / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002535/0.7799, allocations: 19.19 kB / 0.9546 GB, free: 4.559 MB / 0.7169 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.0005022/0.7804, allocations: 0.728 MB / 0.9553 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.7808, allocations: 106.8 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7808, allocations: 1.312 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.7809, allocations: 40.36 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.7812, allocations: 10.03 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.7817, allocations: 239.1 kB / 0.9557 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.7818, allocations: 0.6939 MB / 0.9564 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.949e-05/0.7819, allocations: 25.53 kB / 0.9564 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.7819, allocations: 23 kB / 0.9564 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7819, allocations: 1.25 kB / 0.9564 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6912/1.473, allocations: 1.906 MB / 0.9583 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/1.473, allocations: 182.2 kB / 0.9585 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/3.113, allocations: 0 / 0.9585 GB, free: 1.625 MB / 0.7169 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