Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 111.3 kB / 17.6 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 182.7 kB / 20.77 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 79.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9423, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002624/0.9449, allocations: 1.512 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.9453, allocations: 122.8 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.9454, allocations: 0.6562 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.9454, allocations: 5.266 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.9455, allocations: 15.31 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.9458, allocations: 29.86 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.9459, allocations: 43.73 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.946, allocations: 9.297 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.9461, allocations: 13.91 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.9462, allocations: 30.98 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.9462, allocations: 4.156 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.9463, allocations: 36.53 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.9463, allocations: 18.95 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.9464, allocations: 26.73 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.9466, allocations: 73.97 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9466, allocations: 0 / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.115e-06/0.9466, allocations: 0.9375 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.9466, allocations: 0 / 1.273 GB, free: 6.43 MB / 0.9981 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.0006593/0.9473, allocations: 383.7 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.9473, allocations: 13.78 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.9474, allocations: 42.08 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.9474, allocations: 8.031 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.9475, allocations: 173.5 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9476, allocations: 1.156 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.9476, allocations: 2.906 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.9479, allocations: 115.9 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9479, allocations: 3.938 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.9479, allocations: 0.7812 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/0.948, allocations: 11.56 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.9483, allocations: 124.8 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.9488, allocations: 343.7 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.949, allocations: 57.45 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.9491, allocations: 34.77 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.9494, allocations: 132 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.9494, allocations: 32.31 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9494, allocations: 0 / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005382/0.95, allocations: 139.8 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.95, allocations: 56.19 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.9501, allocations: 145.6 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.9501, allocations: 30.73 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.9501, allocations: 117.4 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.9502, allocations: 17.33 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.9502, allocations: 23.75 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.9502, allocations: 322.8 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.9504, allocations: 46.11 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9506, allocations: 114.2 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.9509, allocations: 172.6 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9509, allocations: 0.9062 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004292/0.9514, allocations: 181.1 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9514, allocations: 11.05 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9514, allocations: 3.469 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.9514, allocations: 19.16 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.9516, allocations: 33.83 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.9516, allocations: 2.969 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.9517, allocations: 26.94 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.9517, allocations: 9.766 kB / 1.276 GB, free: 4.133 MB / 0.9981 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.312e-05/0.9518, allocations: 120.5 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.9518, allocations: 10.59 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.9522, allocations: 127.3 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9522, allocations: 5.094 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9522, allocations: 0 / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9522, allocations: 5.156 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.9523, allocations: 171.8 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9523, allocations: 0 / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.9524, allocations: 17.59 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9524, allocations: 0.6562 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.9525, allocations: 0.7188 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9525, allocations: 4.625 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9525, allocations: 0.5312 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.9528, allocations: 203.2 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.9528, allocations: 83.22 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.9528, allocations: 0 / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.9529, allocations: 14.88 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.953, allocations: 11.48 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.953, allocations: 9.344 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.953, allocations: 106.2 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.953, allocations: 0 / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002697/0.9533, allocations: 18.08 kB / 1.277 GB, free: 3.387 MB / 0.9981 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.0005306/0.9538, allocations: 0.7303 MB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.9542, allocations: 105.4 kB / 1.278 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9542, allocations: 0.625 kB / 1.278 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.9544, allocations: 39.55 kB / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.9547, allocations: 13 kB / 1.278 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.9552, allocations: 217.9 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.9553, allocations: 0.6929 MB / 1.279 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.9554, allocations: 35.97 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.9554, allocations: 23.95 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9554, allocations: 4.906 kB / 1.279 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.982, allocations: 2.19 MB / 1.281 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/9.056, allocations: 10.44 kB / 1.281 GB, free: 17.34 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.35792532202322]