Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002092/0.002092, allocations: 207.9 kB / 23 MB, free: 4.965 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_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.002035/0.002035, allocations: 64.92 kB / 1.155 GB, free: 24.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 176.1 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002727/0.3549, allocations: 1.502 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.3552, allocations: 115.7 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.3553, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.3553, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.3554, allocations: 11.86 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3556, allocations: 27.97 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.3557, allocations: 55.78 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.3557, allocations: 3.984 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.3558, allocations: 23.92 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.3558, allocations: 19.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3559, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.3559, allocations: 35.95 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.356, allocations: 11.94 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.356, allocations: 23.86 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3562, allocations: 79.64 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3562, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3562, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3562, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 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.0005364/0.3567, allocations: 302.1 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3568, allocations: 8.031 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.3568, allocations: 12.88 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3569, allocations: 118.4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3569, allocations: 384 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3569, allocations: 384 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3572, allocations: 114.2 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.3572, allocations: 192 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3573, allocations: 7.922 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.3573, allocations: 19.92 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.3576, allocations: 119.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3581, allocations: 280.3 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3583, allocations: 58.55 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3584, allocations: 36.91 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.3587, allocations: 59.89 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3587, allocations: 42.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3587, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005655/0.3593, allocations: 137.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3593, allocations: 51.41 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3595, allocations: 153.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3595, allocations: 25.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3596, allocations: 119.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3596, allocations: 11.91 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.3597, allocations: 33.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3599, allocations: 314.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.36, allocations: 51.95 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3603, allocations: 113.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.3607, allocations: 169.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.3607, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004758/0.3612, allocations: 181.3 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3612, allocations: 10.19 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3612, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3612, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3614, allocations: 31.97 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3614, allocations: 8.25 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3616, allocations: 39.8 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.3616, allocations: 8 kB / 1.331 GB, free: 12.07 MB / 1.029 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.0001117/0.3617, allocations: 118.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3617, allocations: 7.953 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.3621, allocations: 125.8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3621, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3621, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.3622, allocations: 15.89 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3622, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3623, allocations: 7.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3624, allocations: 7.984 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004423/0.3628, allocations: 196.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004587/0.3633, allocations: 278.6 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001674/0.3634, allocations: 40.33 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3635, allocations: 111.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of Backend: time 7.62e-07/0.3635, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006856/0.3642, allocations: 150.1 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008818/0.3651, allocations: 0.613 MB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Templates: time 0.004576/0.3697, allocations: 1.346 MB / 1.334 GB, free: 8.984 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.332335644001432]