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.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.001854/0.001854, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.001987/0.001987, allocations: 177.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.336/3.336, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.573e-06/1.573e-06, allocations: 0 / 0.8775 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.786e-05, allocations: 2.844 kB / 0.8775 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001733/0.001761, allocations: 0.5876 MB / 0.8781 GB, free: 4.91 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.002243, allocations: 174.4 kB / 0.8782 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.002255, allocations: 0 / 0.8782 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.537e-06/0.002264, allocations: 0 / 0.8782 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.00227, allocations: 4 kB / 0.8782 GB, free: 4.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.002633, allocations: 55.47 kB / 0.8783 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.394e-05/0.002667, allocations: 0.6562 kB / 0.8783 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.736e-05/0.002694, allocations: 0 / 0.8783 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.002722, allocations: 3.984 kB / 0.8783 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.252e-05/0.002745, allocations: 7.984 kB / 0.8783 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.002753, allocations: 0.7656 kB / 0.8783 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.002925, allocations: 48.83 kB / 0.8784 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.002935, allocations: 0.9375 kB / 0.8784 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.002952, allocations: 4.547 kB / 0.8784 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003088, allocations: 48.92 kB / 0.8784 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00309, allocations: 0.6562 kB / 0.8784 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003091, allocations: 0 / 0.8784 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003094, allocations: 1.094 kB / 0.8784 GB, free: 4.578 MB / 0.7917 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.0003627/0.003457, allocations: 348.3 kB / 0.8787 GB, free: 4.199 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.003494, allocations: 12.02 kB / 0.8788 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.003528, allocations: 3.297 kB / 0.8788 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/0.003623, allocations: 108.6 kB / 0.8789 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003634, allocations: 384 / 0.8789 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.003641, allocations: 384 / 0.8789 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.00373, allocations: 31.78 kB / 0.8789 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.003737, allocations: 192 / 0.8789 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.003745, allocations: 384 / 0.8789 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.003749, allocations: 4.922 kB / 0.8789 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.003771, allocations: 10.91 kB / 0.8789 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.003917, allocations: 108.6 kB / 0.879 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.003978, allocations: 31.08 kB / 0.879 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.003997, allocations: 7.688 kB / 0.879 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/0.004522, allocations: 73.98 kB / 0.8791 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.004556, allocations: 35.05 kB / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.004557, allocations: 0 / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.004698, allocations: 37.64 kB / 0.8792 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.004739, allocations: 51.41 kB / 0.8792 GB, free: 3.594 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.004834, allocations: 147.6 kB / 0.8794 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.004853, allocations: 25.7 kB / 0.8794 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.004918, allocations: 126.9 kB / 0.8795 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.004948, allocations: 8.078 kB / 0.8795 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.004988, allocations: 23.38 kB / 0.8796 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002531/0.005241, allocations: 496.1 kB / 0.88 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.00525, allocations: 0 / 0.88 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-06/0.005258, allocations: 4.219 kB / 0.88 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.005285, allocations: 7.688 kB / 0.88 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005287, allocations: 3.938 kB / 0.88 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.545e-05/0.005353, allocations: 45.62 kB / 0.8801 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005365, allocations: 4 kB / 0.8801 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005369, allocations: 0 / 0.8801 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.005381, allocations: 4.094 kB / 0.8801 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.00542, allocations: 4 kB / 0.8801 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.005424, allocations: 0 / 0.8801 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.005436, allocations: 3.938 kB / 0.8801 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.005444, allocations: 4 kB / 0.8801 GB, free: 2.652 MB / 0.7917 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.0001008/0.005545, allocations: 152.6 kB / 0.8803 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.005555, allocations: 4 kB / 0.8803 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.005638, allocations: 40.62 kB / 0.8803 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00564, allocations: 0 / 0.8803 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005643, allocations: 32 / 0.8803 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.005645, allocations: 4 kB / 0.8803 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.005751, allocations: 112.6 kB / 0.8804 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005753, allocations: 0 / 0.8804 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.005765, allocations: 4 kB / 0.8804 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005767, allocations: 0 / 0.8804 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.005772, allocations: 0 / 0.8804 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.005778, allocations: 3.984 kB / 0.8804 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005778, allocations: 0 / 0.8804 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.005868, allocations: 68.39 kB / 0.8805 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.005872, allocations: 0 / 0.8805 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.005883, allocations: 8.031 kB / 0.8805 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.005889, allocations: 0 / 0.8805 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.005909, allocations: 7.984 kB / 0.8805 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.005911, allocations: 0 / 0.8805 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.005972, allocations: 123.1 kB / 0.8806 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.005972, allocations: 0 / 0.8806 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001961/0.006168, allocations: 15.94 kB / 0.8806 GB, free: 2.043 MB / 0.7917 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.0002062/0.006374, allocations: 121.4 kB / 0.8807 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.00645, allocations: 11.69 kB / 0.8808 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.006452, allocations: 0 / 0.8808 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.006469, allocations: 11.69 kB / 0.8808 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.006598, allocations: 3.938 kB / 0.8808 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.006809, allocations: 84.09 kB / 0.8808 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.006863, allocations: 55.34 kB / 0.8809 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.006875, allocations: 4 kB / 0.8809 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.006891, allocations: 12.62 kB / 0.8809 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.006891, allocations: 0 / 0.8809 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of Templates: time 0.003122/0.01001, allocations: 440.5 kB / 0.8813 GB, free: 1.246 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] 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.326145068043843]