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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 211 kB / 23 MB, free: 4.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.206/3.206, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.36 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3155, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002678/0.3181, allocations: 1.514 MB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.3185, allocations: 123.6 kB / 1.356 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.3185, allocations: 4 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.3186, allocations: 3.938 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.3186, allocations: 11.88 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3189, allocations: 27.95 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.319, allocations: 47.8 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.319, allocations: 11.97 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.3191, allocations: 15.94 kB / 1.356 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.3191, allocations: 23.91 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3192, allocations: 4 kB / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.3193, allocations: 43.95 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.3193, allocations: 12 kB / 1.356 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3193, allocations: 31.8 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3195, allocations: 75.59 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3195, allocations: 0 / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3195, allocations: 3.938 kB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3195, allocations: 0 / 1.356 GB, free: 5.988 MB / 1.045 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.0005357/0.32, allocations: 306.1 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3201, allocations: 12.03 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.3204, allocations: 40.84 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3205, allocations: 114.4 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.3205, allocations: 4.375 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3205, allocations: 384 / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3208, allocations: 122.1 kB / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3208, allocations: 192 / 1.357 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3208, allocations: 3.938 kB / 1.357 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.3209, allocations: 11.98 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.3212, allocations: 123.9 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.3218, allocations: 343.1 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.322, allocations: 66.47 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3222, allocations: 40.92 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3222, allocations: 3.984 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3222, allocations: 34.55 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3222, allocations: 4 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005441/0.3228, allocations: 145.5 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3228, allocations: 55.34 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3229, allocations: 149.8 kB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.323, allocations: 25.7 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.323, allocations: 116 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3231, allocations: 23.84 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.3231, allocations: 29.7 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3233, allocations: 310.8 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3234, allocations: 59.88 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3237, allocations: 117.4 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.324, allocations: 181.2 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.324, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004648/0.3245, allocations: 189.6 kB / 1.359 GB, free: 3.152 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3245, allocations: 9.125 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3245, allocations: 4 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3245, allocations: 4 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3247, allocations: 39.84 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3247, allocations: 4 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3249, allocations: 27.88 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3249, allocations: 4 kB / 1.359 GB, free: 3.062 MB / 1.045 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.0001109/0.325, allocations: 137.6 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.325, allocations: 7.953 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.3251, allocations: 12.34 kB / 1.359 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3251, allocations: 3.938 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3251, allocations: 4 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3251, allocations: 0 / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3253, allocations: 152.7 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3253, allocations: 3.984 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3254, allocations: 15.98 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3254, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3254, allocations: 4 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3254, allocations: 3.938 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3254, allocations: 0 / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3258, allocations: 211.4 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.3258, allocations: 7.953 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3258, allocations: 8 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3259, allocations: 15.92 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.326, allocations: 7.984 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.326, allocations: 0 / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.3261, allocations: 109.4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002518/0.3263, allocations: 12 kB / 1.359 GB, free: 2.289 MB / 1.045 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.000112/0.3264, allocations: 103.2 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.3268, allocations: 112.1 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3268, allocations: 0 / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.327, allocations: 44.53 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3272, allocations: 9.812 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.3276, allocations: 211.6 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.328, allocations: 0.6885 MB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.328, allocations: 15.42 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.328, allocations: 4 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of Templates: time 0.00287/0.3309, allocations: 1.18 MB / 1.362 GB, free: 15.88 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.926411845022812]