Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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.0017/0.0017, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001955/0.001955, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.626/1.626, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.657/2.657, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.89 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4003, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002955/0.4032, allocations: 1.437 MB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.4039, allocations: 252 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.4039, allocations: 3.938 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.4039, allocations: 3.984 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.404, allocations: 3.938 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.4044, allocations: 67.81 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.4045, allocations: 19.98 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.4046, allocations: 4 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.4046, allocations: 7.938 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.4047, allocations: 11.97 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.4047, allocations: 7.938 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.4049, allocations: 59.94 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.4049, allocations: 7.938 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.4049, allocations: 4 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.4051, allocations: 63.72 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4051, allocations: 4 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4051, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4051, allocations: 0 / 1.216 GB, free: 14.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005553/0.4056, allocations: 347.3 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4057, allocations: 8.031 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4057, allocations: 8.891 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4059, allocations: 164.3 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4059, allocations: 384 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4059, allocations: 384 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4061, allocations: 58.22 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4061, allocations: 192 / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4061, allocations: 3.938 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4061, allocations: 4 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.4063, allocations: 35.89 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.4067, allocations: 248.9 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4068, allocations: 42.53 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.4069, allocations: 24.91 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/0.4076, allocations: 461.5 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4077, allocations: 30.56 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.4077, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000377/0.408, allocations: 81.58 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.4081, allocations: 51.41 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.4082, allocations: 106 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4082, allocations: 29.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.4083, allocations: 84.14 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4083, allocations: 3.953 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.4083, allocations: 17.72 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4085, allocations: 310.8 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.4085, allocations: 19.97 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.4086, allocations: 19.98 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4088, allocations: 40.77 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4088, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.409, allocations: 73.55 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.409, allocations: 4 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.409, allocations: 4.094 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.409, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.4091, allocations: 11.98 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.4091, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.4091, allocations: 8 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.4091, allocations: 0 / 1.218 GB, free: 12.39 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 (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 8.438e-05/0.4092, allocations: 117.8 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.4093, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.4095, allocations: 76.72 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4095, allocations: 4 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4095, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4095, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4097, allocations: 157.6 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4097, allocations: 3.984 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.4097, allocations: 7.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4097, allocations: 4 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4098, allocations: 7.969 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4098, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4098, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.41, allocations: 167.4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.4101, allocations: 85.05 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4101, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.4102, allocations: 8.031 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.4102, allocations: 3.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.4102, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.4102, allocations: 83.45 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4102, allocations: 4 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002327/0.4105, allocations: 15.94 kB / 1.219 GB, free: 11.55 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 (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.0002402/0.4107, allocations: 123.2 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4109, allocations: 31.97 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4109, allocations: 4 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.411, allocations: 23.91 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.4113, allocations: 7.938 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.4116, allocations: 131.3 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.4119, allocations: 0.6729 MB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.4119, allocations: 15.42 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.4119, allocations: 0 / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.002611/0.4145, allocations: 0.7771 MB / 1.221 GB, free: 9.703 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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.371488133911043]