Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.0007717/0.0007717, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007902/0.0007902, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8546/0.8546, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.687/1.687, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.627e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001692/0.001708, allocations: 1.444 MB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003644/0.002072, allocations: 235.1 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.002096, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.002122, allocations: 3.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.002162, allocations: 7.922 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.002457, allocations: 55.77 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.002511, allocations: 23.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.002586, allocations: 4 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.002627, allocations: 19.97 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.002657, allocations: 11.94 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.002666, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.002768, allocations: 59.88 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.00278, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.002795, allocations: 8 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.002914, allocations: 67.77 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002916, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002917, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.00292, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003092/0.003229, allocations: 274.3 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.003262, allocations: 8.75 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.003286, allocations: 0.9375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.14e-05/0.003357, allocations: 109.7 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.003366, allocations: 384 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.003374, allocations: 384 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.003486, allocations: 51.02 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003492, allocations: 4.125 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.0035, allocations: 384 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003505, allocations: 4.375 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.003589, allocations: 39.89 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.003812, allocations: 188.6 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.003884, allocations: 38.59 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.003927, allocations: 20.91 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.004215, allocations: 79.86 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004235, allocations: 34.56 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004235, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.004438, allocations: 85.53 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.004464, allocations: 55.41 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.004515, allocations: 105.8 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004524, allocations: 33.77 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.004554, allocations: 80.14 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.004569, allocations: 3.953 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.004593, allocations: 17.72 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.004663, allocations: 314.8 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.0047, allocations: 23.92 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.004732, allocations: 15.92 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.004804, allocations: 44.89 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004805, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.077e-05/0.004896, allocations: 65.66 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.004907, allocations: 4 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.004912, allocations: 3.938 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.004921, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.004972, allocations: 15.98 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.004977, allocations: 4.031 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.004998, allocations: 7.984 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.005002, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 4.779e-05/0.00505, allocations: 109.8 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.00506, allocations: 4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.005176, allocations: 72.91 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005177, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005181, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005184, allocations: 8.031 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.914e-05/0.005263, allocations: 109.2 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.005264, allocations: 0 / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.005287, allocations: 11.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005288, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.005293, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.005295, allocations: 7.938 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005296, allocations: 0 / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.005408, allocations: 163.5 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-06/0.005412, allocations: 0 / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.00542, allocations: 0 / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.005455, allocations: 11.92 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.005483, allocations: 8 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.005485, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.005509, allocations: 87.2 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005509, allocations: 0 / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00015/0.005659, allocations: 15.94 kB / 1.005 GB, free: 8.508 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0001285/0.005788, allocations: 115.2 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.005902, allocations: 35.95 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.005905, allocations: 4 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.005945, allocations: 19.92 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006097, allocations: 8.125 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.006296, allocations: 122.7 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.006333, allocations: 67.28 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.00635, allocations: 12.5 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.00635, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.001477/0.007827, allocations: 0.7962 MB / 1.006 GB, free: 7.281 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 6.521027782931924]