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.001745/0.001745, allocations: 79.7 kB / 19.18 MB, free: 2.523 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.002144/0.002144, allocations: 169.1 kB / 22.46 MB, free: 5.371 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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 2.955/2.955, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 4.448e-06/4.448e-06, allocations: 4 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.579e-05, allocations: 2.281 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002825/0.002861, allocations: 1.497 MB / 1.002 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.003233, allocations: 119.5 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.003272, allocations: 0 / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.213e-05/0.003324, allocations: 7.938 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.003393, allocations: 11.92 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003647, allocations: 31.89 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.003751, allocations: 39.86 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003853, allocations: 19.97 kB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.003926, allocations: 23.92 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.003985, allocations: 19.95 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.004006, allocations: 4 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.004105, allocations: 35.97 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.00415, allocations: 15.92 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.004179, allocations: 11.94 kB / 1.002 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.004358, allocations: 87.69 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004361, allocations: 0 / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.021e-06/0.004362, allocations: 0 / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.004367, allocations: 0 / 1.002 GB, free: 5.32 MB / 0.9512 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.0006251/0.004992, allocations: 302 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.005033, allocations: 16.02 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.005338, allocations: 36.86 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005468, allocations: 109.8 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005487, allocations: 8.375 kB / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.005502, allocations: 384 / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.005877, allocations: 126 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.005888, allocations: 192 / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.005902, allocations: 4.359 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.005928, allocations: 12.31 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.006344, allocations: 131.2 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.006969, allocations: 300 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.007227, allocations: 70.47 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.007405, allocations: 44.91 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.007424, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.00746, allocations: 34.56 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.007461, allocations: 0 / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006343/0.008096, allocations: 145.5 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.008142, allocations: 59.34 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.008296, allocations: 143.8 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.008316, allocations: 29.7 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.008404, allocations: 123.9 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.008429, allocations: 23.83 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.008485, allocations: 21.72 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.00863, allocations: 326.8 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.008844, allocations: 47.95 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.009088, allocations: 113.4 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.009523, allocations: 177.2 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.009529, allocations: 4 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005133/0.01004, allocations: 189.6 kB / 1.004 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01006, allocations: 8.031 kB / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01007, allocations: 4 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01009, allocations: 8 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.01029, allocations: 35.91 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.0103, allocations: 4 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01045, allocations: 27.88 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01046, allocations: 4 kB / 1.005 GB, free: 2.445 MB / 0.9512 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.000113/0.01058, allocations: 130.2 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.01061, allocations: 11.95 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.01065, allocations: 12.34 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01065, allocations: 4 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01066, allocations: 0 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.01066, allocations: 240 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.01083, allocations: 129.2 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01083, allocations: 0 / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01096, allocations: 19.97 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01097, allocations: 0 / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01098, allocations: 0 / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01098, allocations: 4 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01098, allocations: 0 / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.01142, allocations: 219.2 kB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.01144, allocations: 11.89 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.01145, allocations: 0 / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.01159, allocations: 11.98 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.01164, allocations: 7.984 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.01165, allocations: 4 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.01173, allocations: 116.9 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01173, allocations: 0 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002723/0.012, allocations: 12 kB / 1.005 GB, free: 1.707 MB / 0.9512 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.0001173/0.01212, allocations: 91.25 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.01259, allocations: 116.4 kB / 1.005 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01259, allocations: 0 / 1.005 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.01277, allocations: 43.95 kB / 1.005 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01304, allocations: 3.938 kB / 1.005 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.01351, allocations: 169.3 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.0136, allocations: 75.33 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.432e-05/0.01369, allocations: 24.47 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.01374, allocations: 12.5 kB / 1.006 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.01374, allocations: 4 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.004038/0.01778, allocations: 0.9954 MB / 1.007 GB, free: 144 kB / 0.9512 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/jenkins/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: 8.14958093687892]