Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001606/0.001606, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001765/0.001765, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.049/3.049, allocations: 0.49 GB / 0.7923 GB, free: 1.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 176.1 MB / 1.322 GB, free: 25.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001719/1.222, allocations: 0.5764 MB / 1.323 GB, free: 24.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004599/1.222, allocations: 203.3 kB / 1.323 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/1.222, allocations: 0 / 1.323 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/1.222, allocations: 0 / 1.323 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-06/1.222, allocations: 0 / 1.323 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/1.223, allocations: 50.48 kB / 1.323 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/1.223, allocations: 9.438 kB / 1.323 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/1.223, allocations: 4 kB / 1.323 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.285e-05/1.223, allocations: 0 / 1.323 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/1.223, allocations: 10.91 kB / 1.323 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/1.223, allocations: 0 / 1.323 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/1.223, allocations: 66.41 kB / 1.323 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/1.223, allocations: 0 / 1.323 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/1.223, allocations: 0 / 1.323 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/1.223, allocations: 32.97 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.223, allocations: 3.328 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/1.223, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.223, allocations: 0 / 1.323 GB, free: 24.71 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.0003383/1.224, allocations: 321.5 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.224, allocations: 18.48 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/1.224, allocations: 8.266 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/1.224, allocations: 160.4 kB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/1.224, allocations: 384 / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.224, allocations: 2.906 kB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.826e-05/1.224, allocations: 30.2 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.224, allocations: 192 / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.224, allocations: 10.7 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.224, allocations: 0 / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/1.224, allocations: 4 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/1.224, allocations: 151.4 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/1.224, allocations: 14.58 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/1.224, allocations: 11.45 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/1.225, allocations: 457.5 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.225, allocations: 38.5 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.225, allocations: 0 / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/1.225, allocations: 38.41 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/1.225, allocations: 51.41 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.159e-05/1.225, allocations: 93.8 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/1.225, allocations: 25.7 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.231e-05/1.225, allocations: 86.92 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/1.225, allocations: 7.891 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/1.225, allocations: 16.62 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/1.225, allocations: 314.4 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/1.225, allocations: 3.938 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/1.225, allocations: 0 / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/1.225, allocations: 7.859 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.225, allocations: 64 / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.144e-05/1.225, allocations: 34.89 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.225, allocations: 7 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.225, allocations: 2.844 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.225, allocations: 3.938 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/1.225, allocations: 3.281 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.225, allocations: 2.875 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-06/1.225, allocations: 0 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.225, allocations: 0 / 1.325 GB, free: 22.64 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 5.034e-05/1.225, allocations: 117.8 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/1.225, allocations: 2.875 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/1.225, allocations: 38.8 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.225, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.225, allocations: 0 / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/1.225, allocations: 2.562 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.831e-05/1.225, allocations: 141.7 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.225, allocations: 0 / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/1.225, allocations: 5.875 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.225, allocations: 0 / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/1.225, allocations: 11.97 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.225, allocations: 4 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.225, allocations: 2.656 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.107e-05/1.226, allocations: 54.67 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/1.226, allocations: 84.52 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/1.226, allocations: 3.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/1.226, allocations: 0 / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/1.226, allocations: 6.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/1.226, allocations: 0 / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.867e-05/1.226, allocations: 79.28 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 4e-08/1.226, allocations: 0 / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001998/1.226, allocations: 11.03 kB / 1.325 GB, free: 22.03 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.0002001/1.226, allocations: 120.2 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.289e-05/1.226, allocations: 5.5 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.226, allocations: 3.938 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/1.226, allocations: 3.938 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/1.226, allocations: 8.062 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/1.226, allocations: 103.8 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/1.227, allocations: 0.6718 MB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/1.227, allocations: 7.438 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.227, allocations: 4.125 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of Templates: time 0.002235/1.229, allocations: 0.5552 MB / 1.327 GB, free: 21.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 12.181270437999046]