Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001587/0.001587, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002225/0.002225, allocations: 191.9 kB / 22.23 MB, free: 5.102 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.446/1.446, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7646 GB, free: 9.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7761, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002902/0.779, allocations: 1.438 MB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005847/0.7796, allocations: 251.3 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.7796, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.7796, allocations: 3.938 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.7797, allocations: 4 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.78, allocations: 55.83 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.7801, allocations: 23.88 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.7802, allocations: 11.97 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.7802, allocations: 8 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.7803, allocations: 11.92 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.7803, allocations: 0 / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.7804, allocations: 63.89 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.7805, allocations: 7.984 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.7805, allocations: 11.94 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.7806, allocations: 47.58 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7806, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7806, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7806, allocations: 0 / 1.276 GB, free: 2.258 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.0004703/0.7811, allocations: 272.9 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.7811, allocations: 8.031 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.7812, allocations: 12.89 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.7813, allocations: 110.5 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.7813, allocations: 4.375 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.7813, allocations: 4.375 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.7815, allocations: 46.23 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.7815, allocations: 192 / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7815, allocations: 11.88 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7815, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.7817, allocations: 35.97 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.782, allocations: 220 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.7822, allocations: 38.5 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.7822, allocations: 16.91 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.7827, allocations: 71.92 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.7827, allocations: 38.55 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7827, allocations: 0 / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.7831, allocations: 81.59 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.7831, allocations: 55.39 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.7832, allocations: 101.9 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7832, allocations: 25.7 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.7833, allocations: 84.09 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.7833, allocations: 11.88 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.7833, allocations: 21.7 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7835, allocations: 315 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.7836, allocations: 11.98 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.7836, allocations: 19.98 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.7838, allocations: 40.81 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7838, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.784, allocations: 69.61 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.784, allocations: 11.98 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.784, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.784, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.7841, allocations: 4 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.7841, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.7841, allocations: 7.984 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.7842, allocations: 7.938 kB / 1.278 GB, free: 356 kB / 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.38e-05/0.7842, allocations: 117.8 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.7843, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.7845, allocations: 80.89 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7845, allocations: 192 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.7845, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-06/0.7845, allocations: 3.984 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.7847, allocations: 128.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7847, allocations: 8.031 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.7847, allocations: 11.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7847, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7847, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.7848, allocations: 3.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7848, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.785, allocations: 171.3 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.785, allocations: 8 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.785, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.7851, allocations: 7.984 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.7851, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7851, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.7852, allocations: 87.2 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7852, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002567/0.7855, allocations: 12 kB / 1.279 GB, free: 15.64 MB / 0.9825 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.0001954/0.7856, allocations: 119.2 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.7859, allocations: 35.95 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7859, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.786, allocations: 20.05 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7862, allocations: 11.94 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.7865, allocations: 105.5 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7868, allocations: 0.6807 MB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.7868, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.7869, allocations: 7.438 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7869, allocations: 4.062 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.003505/0.7904, allocations: 0.665 MB / 1.28 GB, free: 13.95 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.630292989313602]