Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.00126/0.00126, allocations: 115.3 kB / 17.13 MB, free: 5.914 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.001289/0.001289, allocations: 194.1 kB / 20.08 MB, free: 2.98 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.567/1.567, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 1.057 GB, free: 1.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3909, allocations: 160.7 MB / 1.214 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001824/0.3927, allocations: 0.5795 MB / 1.215 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000529/0.3933, allocations: 187.4 kB / 1.215 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.3933, allocations: 4 kB / 1.215 GB, free: 104 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.3933, allocations: 7.875 kB / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-06/0.3933, allocations: 0 / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.3937, allocations: 59.81 kB / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.3937, allocations: 0 / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.3938, allocations: 0 / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.3938, allocations: 0 / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.3938, allocations: 0 / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.3938, allocations: 0 / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.394, allocations: 63.88 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.394, allocations: 0 / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.3941, allocations: 7.984 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3942, allocations: 27.91 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.3942, allocations: 7.984 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3942, allocations: 0 / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3942, allocations: 4 kB / 1.215 GB, free: 15.93 MB / 0.9669 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.0003887/0.3946, allocations: 311.5 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3946, allocations: 8.031 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.3947, allocations: 0.9375 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3948, allocations: 164.4 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3948, allocations: 12.31 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3948, allocations: 384 / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3949, allocations: 30.2 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3949, allocations: 192 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3949, allocations: 3.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3949, allocations: 0 / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.395, allocations: 4 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3951, allocations: 149.6 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.3952, allocations: 26.59 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.3952, allocations: 8.797 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008182/0.396, allocations: 449.5 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3961, allocations: 34.56 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3961, allocations: 4 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.3962, allocations: 37.62 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3963, allocations: 51.41 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.3963, allocations: 89.86 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3963, allocations: 25.7 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.3964, allocations: 80.14 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3964, allocations: 4 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.3964, allocations: 13.72 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3966, allocations: 315 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.3966, allocations: 3.938 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.3966, allocations: 4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.3966, allocations: 8.797 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3966, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.099e-05/0.3967, allocations: 41.69 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3967, allocations: 4 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3967, allocations: 3.984 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3967, allocations: 8.031 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.3968, allocations: 4 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3968, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-06/0.3968, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3968, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 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 9.241e-05/0.3969, allocations: 109.8 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.3969, allocations: 3.984 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.397, allocations: 36.77 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.397, allocations: 15.95 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.397, allocations: 4 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.397, allocations: 0 / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.3971, allocations: 153.7 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3971, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.3971, allocations: 4 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3971, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3972, allocations: 3.938 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3972, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3972, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.3972, allocations: 65.06 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.3973, allocations: 81.11 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3973, allocations: 3.938 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.3973, allocations: 0 / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.3973, allocations: 0 / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3973, allocations: 0 / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.3974, allocations: 75.28 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3974, allocations: 0 / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001927/0.3976, allocations: 19.97 kB / 1.217 GB, free: 13.08 MB / 0.9669 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.0002335/0.3978, allocations: 119.2 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.034e-05/0.3979, allocations: 4 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3979, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.3979, allocations: 8 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.398, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.3982, allocations: 114.6 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3986, allocations: 0.669 MB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.3986, allocations: 7.438 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3986, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.002198/0.4008, allocations: 0.5589 MB / 1.219 GB, free: 11.53 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.337823224952444]