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.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.001566/0.001566, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001872/0.001872, allocations: 186 kB / 20.78 MB, free: 1.547 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.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001888/0.001888, allocations: 67.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.9007, allocations: 173.7 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001621/0.9024, allocations: 0.5893 MB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.9028, allocations: 189.6 kB / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.9028, allocations: 0 / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.999e-06/0.9028, allocations: 3.938 kB / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.9028, allocations: 0 / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.9031, allocations: 51.38 kB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.417e-05/0.9032, allocations: 7 kB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.9032, allocations: 4 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.9032, allocations: 4 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.9032, allocations: 3.984 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.9032, allocations: 0 / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.9034, allocations: 57.03 kB / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.9034, allocations: 0 / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.9034, allocations: 3.938 kB / 1.306 GB, free: 32.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.9035, allocations: 41.7 kB / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9035, allocations: 0 / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9035, allocations: 0 / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9035, allocations: 0 / 1.306 GB, free: 32.86 MB / 1.061 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.0002353/0.9037, allocations: 324 kB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.9038, allocations: 8.5 kB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.9038, allocations: 7.672 kB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.217e-05/0.9038, allocations: 160.4 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.9039, allocations: 384 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.9039, allocations: 384 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.9039, allocations: 29.23 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.904, allocations: 192 / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.904, allocations: 3.938 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.904, allocations: 0 / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.904, allocations: 14.47 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.071e-05/0.9041, allocations: 149.6 kB / 1.307 GB, free: 32.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.9041, allocations: 17.48 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.9041, allocations: 4.859 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/0.9047, allocations: 459.2 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.9047, allocations: 30.56 kB / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9047, allocations: 0 / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.9048, allocations: 39.2 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/0.9048, allocations: 51.41 kB / 1.308 GB, free: 31.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.447e-05/0.9048, allocations: 89.86 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.9048, allocations: 28.14 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-06/0.9048, allocations: 84.27 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.9049, allocations: 11.22 kB / 1.308 GB, free: 31.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.9049, allocations: 12.75 kB / 1.308 GB, free: 31.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.9049, allocations: 314.8 kB / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.9049, allocations: 0 / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.9049, allocations: 2.969 kB / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.905, allocations: 7.578 kB / 1.308 GB, free: 30.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.905, allocations: 0 / 1.308 GB, free: 30.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.028e-05/0.905, allocations: 46.14 kB / 1.308 GB, free: 30.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.905, allocations: 7.375 kB / 1.308 GB, free: 30.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.905, allocations: 0 / 1.308 GB, free: 30.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.905, allocations: 3.938 kB / 1.308 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.9051, allocations: 6.625 kB / 1.308 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9051, allocations: 0 / 1.308 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-06/0.9051, allocations: 0 / 1.308 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.9051, allocations: 0 / 1.308 GB, free: 30.8 MB / 1.061 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 3.486e-05/0.9051, allocations: 108.7 kB / 1.308 GB, free: 30.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-06/0.9051, allocations: 4 kB / 1.308 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.9052, allocations: 43.19 kB / 1.308 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9052, allocations: 3.984 kB / 1.308 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9052, allocations: 3.156 kB / 1.308 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.9052, allocations: 0 / 1.308 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.961e-05/0.9053, allocations: 149 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9053, allocations: 0 / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.9053, allocations: 2.688 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.9053, allocations: 0 / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.9053, allocations: 7.969 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.9053, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.9053, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.495e-05/0.9053, allocations: 60.14 kB / 1.309 GB, free: 30.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.9053, allocations: 77.11 kB / 1.309 GB, free: 30.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.9053, allocations: 3.938 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.9053, allocations: 0 / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.9054, allocations: 2.469 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.9054, allocations: 11.25 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.025e-05/0.9054, allocations: 75.28 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9054, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002065/0.9056, allocations: 11.28 kB / 1.309 GB, free: 30.19 MB / 1.061 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.0001548/0.9057, allocations: 119.8 kB / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.803e-05/0.9058, allocations: 10.25 kB / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9058, allocations: 0 / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.9058, allocations: 0 / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.9059, allocations: 6.906 kB / 1.309 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000146/0.9061, allocations: 96.34 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.733e-05/0.9062, allocations: 0.6748 MB / 1.31 GB, free: 29.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.778e-06/0.9062, allocations: 0 / 1.31 GB, free: 29.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-06/0.9062, allocations: 7.438 kB / 1.31 GB, free: 29.28 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9062, allocations: 8.062 kB / 1.31 GB, free: 29.27 MB / 1.061 GB Notification: Performance of Templates: time 0.002409/0.9086, allocations: 406.9 kB / 1.31 GB, free: 29.21 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] 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: 8.806940730661154]