Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001805/0.001805, allocations: 113 kB / 17.6 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.00209/0.00209, allocations: 186.8 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.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9913/0.9932, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001895/0.9951, allocations: 0.5994 MB / 1.273 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.9956, allocations: 184 kB / 1.273 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.9956, allocations: 0.7188 kB / 1.273 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.9956, allocations: 3.938 kB / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.9956, allocations: 0 / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.9961, allocations: 56.06 kB / 1.273 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.9961, allocations: 1.297 kB / 1.273 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.9962, allocations: 5.391 kB / 1.273 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.9962, allocations: 4.75 kB / 1.273 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.9962, allocations: 1.656 kB / 1.273 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.9962, allocations: 0 / 1.273 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.9964, allocations: 56.77 kB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.762e-06/0.9964, allocations: 4 kB / 1.273 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.9964, allocations: 4.828 kB / 1.273 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.9966, allocations: 42.81 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9966, allocations: 0 / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9966, allocations: 0.8438 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9966, allocations: 0 / 1.273 GB, free: 7.352 MB / 0.9981 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.000262/0.9968, allocations: 315.1 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9969, allocations: 9.828 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.9969, allocations: 0.9375 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.263e-05/0.997, allocations: 167 kB / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.997, allocations: 1.156 kB / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.997, allocations: 384 / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.9971, allocations: 32.52 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9971, allocations: 0.8438 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.9971, allocations: 4.656 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9971, allocations: 0 / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.9971, allocations: 6.172 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.9972, allocations: 148.5 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.9973, allocations: 19.98 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.9973, allocations: 7 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.9979, allocations: 454.1 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.9979, allocations: 35.28 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.9979, allocations: 0 / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.9981, allocations: 40.03 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.9981, allocations: 56.16 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.878e-05/0.9981, allocations: 90.61 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.9981, allocations: 25.7 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.9981, allocations: 80.86 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.9981, allocations: 1.688 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.9982, allocations: 15.22 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.9982, allocations: 312.4 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.9982, allocations: 0.7188 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.9982, allocations: 2.328 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.9983, allocations: 11.94 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9983, allocations: 0 / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.48e-05/0.9983, allocations: 44 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9983, allocations: 6.156 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9983, allocations: 5.031 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9983, allocations: 3.938 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.9984, allocations: 1.781 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.9984, allocations: 0.75 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.9984, allocations: 0.8438 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.9984, allocations: 0.7812 kB / 1.275 GB, free: 5.309 MB / 0.9981 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 4.791e-05/0.9985, allocations: 107.3 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.9985, allocations: 1.828 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.9985, allocations: 50.56 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.9986, allocations: 1.062 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.9986, allocations: 0 / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.9986, allocations: 1.797 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.379e-05/0.9986, allocations: 144 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9986, allocations: 4.609 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.9986, allocations: 2.062 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9986, allocations: 0.7031 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.9986, allocations: 4.969 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9986, allocations: 0 / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9986, allocations: 0.6094 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.01e-05/0.9987, allocations: 60.95 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.9987, allocations: 82.86 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.9987, allocations: 4.625 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.9987, allocations: 1.422 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.9987, allocations: 0.75 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.9987, allocations: 0.6562 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.779e-05/0.9988, allocations: 84.12 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9988, allocations: 0 / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002135/0.999, allocations: 11.19 kB / 1.275 GB, free: 4.695 MB / 0.9981 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.000204/0.9992, allocations: 126 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.9993, allocations: 3.5 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.9993, allocations: 9.125 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.9993, allocations: 2.078 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.9994, allocations: 1.844 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.9996, allocations: 103.1 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.9997, allocations: 0.6707 MB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.9997, allocations: 1.719 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.9997, allocations: 7.438 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.9997, allocations: 0.8438 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.002756/1.002, allocations: 417.1 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.839164034463465]