Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.001843/0.001843, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002313/0.002313, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.441/1.441, allocations: 177.2 MB / 202.8 MB, free: 9.156 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.871/2.871, allocations: 389 MB / 0.633 GB, free: 0.9883 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.647e-05/4.842e-05, allocations: 6.219 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001761/0.00181, allocations: 0.5936 MB / 1.001 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.00231, allocations: 167.4 kB / 1.001 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.002331, allocations: 0 / 1.001 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.002348, allocations: 0 / 1.001 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.002354, allocations: 4 kB / 1.001 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.002787, allocations: 55.75 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.699e-05/0.002824, allocations: 0 / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.002864, allocations: 4 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.499e-05/0.002889, allocations: 0 / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.002916, allocations: 3.938 kB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.002926, allocations: 0 / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.003111, allocations: 67.86 kB / 1.001 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.003123, allocations: 0 / 1.001 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.003141, allocations: 0 / 1.001 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.00328, allocations: 39.89 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.003284, allocations: 3.984 kB / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003285, allocations: 0 / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003289, allocations: 4 kB / 1.001 GB, free: 6.281 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003377/0.003627, allocations: 234.4 kB / 1.001 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.003665, allocations: 8.031 kB / 1.001 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.003698, allocations: 8.938 kB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.003789, allocations: 105.8 kB / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.003802, allocations: 384 / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.00381, allocations: 384 / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.003923, allocations: 30.27 kB / 1.001 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.003936, allocations: 8.125 kB / 1.001 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003944, allocations: 384 / 1.001 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.00395, allocations: 384 / 1.001 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.00397, allocations: 3.938 kB / 1.001 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.00411, allocations: 101.3 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.004159, allocations: 18.58 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.004178, allocations: 12.89 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.004737, allocations: 75.91 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.00478, allocations: 34.56 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.004781, allocations: 0 / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.004926, allocations: 37.64 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.004972, allocations: 51.41 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.005026, allocations: 89.86 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.005049, allocations: 25.7 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.005092, allocations: 84.12 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.005122, allocations: 128 / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.005159, allocations: 25.7 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.005331, allocations: 318.8 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.005341, allocations: 0 / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-06/0.005348, allocations: 4 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.005446, allocations: 8.797 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005448, allocations: 0 / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.005509, allocations: 33.7 kB / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.005524, allocations: 4 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.00553, allocations: 3.984 kB / 1.002 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.005545, allocations: 4.094 kB / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.00559, allocations: 7.984 kB / 1.002 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005594, allocations: 0 / 1.002 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.005614, allocations: 11.89 kB / 1.002 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.00562, allocations: 0 / 1.002 GB, free: 4.781 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.798e-05/0.005698, allocations: 110.4 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.005708, allocations: 4 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.005796, allocations: 40.62 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005797, allocations: 0 / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005801, allocations: 0 / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005804, allocations: 4.031 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.893e-05/0.005882, allocations: 97.27 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005883, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.005897, allocations: 4 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0059, allocations: 0 / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.005905, allocations: 3.938 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005907, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005907, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/0.005986, allocations: 65.06 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.00599, allocations: 0 / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.005998, allocations: 7.969 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-06/0.006005, allocations: 4 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.006014, allocations: 0 / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.006016, allocations: 3.938 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.006054, allocations: 75.28 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.006054, allocations: 0 / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002015/0.006256, allocations: 19.92 kB / 1.003 GB, free: 4.285 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 (1): * Single equations (assignments): 1 * 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.0002153/0.006471, allocations: 123.1 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.943e-05/0.006561, allocations: 4 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006563, allocations: 0 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.006574, allocations: 7.984 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.006696, allocations: 2.188 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.006959, allocations: 77 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.007008, allocations: 51.36 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.566e-06/0.007017, allocations: 0 / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.007035, allocations: 12.62 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of SimCode: time 3.9e-07/0.007035, allocations: 4 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.002939/0.009974, allocations: 428.4 kB / 1.003 GB, free: 3.539 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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: 7.838595524430275]