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.001544/0.001544, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001602/0.001602, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.117 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.631/2.631, allocations: 443.5 MB / 0.7304 GB, free: 13.86 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.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.002161/0.002161, allocations: 75.88 kB / 1.059 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001732/0.3187, allocations: 0.5835 MB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004804/0.3192, allocations: 187.4 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.3192, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3192, allocations: 7.875 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.3192, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3196, allocations: 55.84 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.954e-05/0.3196, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.3197, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.3197, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.3197, allocations: 4 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.3197, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3199, allocations: 63.86 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.3199, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.3199, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.32, allocations: 39.81 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.32, allocations: 4 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.32, allocations: 4 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.32, allocations: 0 / 1.217 GB, free: 14.33 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.0003364/0.3204, allocations: 319.5 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3204, allocations: 8.031 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.3204, allocations: 4.938 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3205, allocations: 164.4 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3205, allocations: 4.312 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3206, allocations: 384 / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.809e-05/0.3206, allocations: 30.27 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3206, allocations: 192 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3207, allocations: 7.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3207, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.3207, allocations: 3.984 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.3208, allocations: 149.6 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.3209, allocations: 18.61 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.3209, allocations: 4.859 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.3216, allocations: 457.5 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3216, allocations: 34.56 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3216, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.3218, allocations: 41.53 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3218, allocations: 55.53 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.515e-05/0.3219, allocations: 89.86 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3219, allocations: 25.7 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3219, allocations: 80.14 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3219, allocations: 4 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.322, allocations: 13.7 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3221, allocations: 314.8 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-06/0.3221, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.3221, allocations: 8 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.3221, allocations: 8.797 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3221, allocations: 4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.3222, allocations: 37.64 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3222, allocations: 4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3222, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3222, allocations: 7.922 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.3223, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3223, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-06/0.3223, allocations: 4.094 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3223, allocations: 0 / 1.219 GB, free: 12.14 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 0.000169/0.3225, allocations: 109.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.3225, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.3225, allocations: 40.75 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3225, allocations: 3.938 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3226, allocations: 3.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3226, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3228, allocations: 145.7 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3228, allocations: 0 / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.3228, allocations: 4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3228, allocations: 0 / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3228, allocations: 3.938 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3228, allocations: 0 / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3228, allocations: 3.984 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.3228, allocations: 57.14 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3229, allocations: 81.14 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.323, allocations: 3.938 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.323, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.323, allocations: 3.984 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.323, allocations: 0 / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.323, allocations: 79.28 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.323, allocations: 0 / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002085/0.3232, allocations: 15.94 kB / 1.219 GB, free: 11.49 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.0002117/0.3234, allocations: 123.1 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.3235, allocations: 7.984 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3235, allocations: 0 / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.3235, allocations: 0 / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.3236, allocations: 5.875 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.3238, allocations: 105 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3242, allocations: 0.669 MB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.3242, allocations: 7.984 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3243, allocations: 11.44 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3243, allocations: 3.938 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.002669/0.3269, allocations: 409.6 kB / 1.221 GB, free: 10.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.051113137044013]