Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001431/0.001431, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001574/0.001574, allocations: 159.3 kB / 22.46 MB, free: 5.375 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 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 2.867/2.867, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.319e-05, allocations: 2.281 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001718/0.001751, allocations: 0.5974 MB / 1.001 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.002256, allocations: 179.3 kB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.00227, allocations: 0 / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.00228, allocations: 0 / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.002286, allocations: 0 / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.002656, allocations: 51.72 kB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.543e-05/0.002691, allocations: 4 kB / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.002731, allocations: 15.97 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.00275, allocations: 0 / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.002773, allocations: 0 / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.002781, allocations: 0 / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.002954, allocations: 51.95 kB / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.002964, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.002981, allocations: 0 / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003114, allocations: 47.86 kB / 1.001 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003116, allocations: 0 / 1.001 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003116, allocations: 3.938 kB / 1.001 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.00312, allocations: 3.938 kB / 1.001 GB, free: 6.293 MB / 0.9512 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.0002931/0.003413, allocations: 250.4 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.003445, allocations: 8.031 kB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.003477, allocations: 0.9375 kB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.00358, allocations: 101.8 kB / 1.001 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.003595, allocations: 8.359 kB / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.003602, allocations: 384 / 1.001 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.174e-05/0.003684, allocations: 30.25 kB / 1.001 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.003691, allocations: 192 / 1.001 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003699, allocations: 384 / 1.001 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.003703, allocations: 384 / 1.001 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.003721, allocations: 11.94 kB / 1.002 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.003841, allocations: 97.33 kB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.003895, allocations: 26.48 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.00391, allocations: 4.859 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.004491, allocations: 79.97 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.004525, allocations: 42.56 kB / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.004526, allocations: 0 / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.004658, allocations: 33.64 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.004713, allocations: 51.41 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.004766, allocations: 89.86 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.004781, allocations: 25.7 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.004817, allocations: 80.14 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.004875, allocations: 15.92 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.004903, allocations: 9.719 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.005111, allocations: 314.8 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.005122, allocations: 4.125 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.005128, allocations: 4 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.005153, allocations: 8.859 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.005158, allocations: 4 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.062e-05/0.005218, allocations: 37.64 kB / 1.002 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.005233, allocations: 7.984 kB / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.005237, allocations: 0 / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005249, allocations: 0 / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.005296, allocations: 4 kB / 1.002 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.0053, allocations: 3.938 kB / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.005314, allocations: 11.98 kB / 1.002 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005319, allocations: 0 / 1.002 GB, free: 4.777 MB / 0.9512 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 8.607e-05/0.005405, allocations: 110.4 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.005412, allocations: 0 / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.005491, allocations: 36.69 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005492, allocations: 0 / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005495, allocations: 0 / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.005498, allocations: 0 / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.005654, allocations: 105.3 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005655, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.005667, allocations: 4.031 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.005669, allocations: 3.938 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.005675, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.005676, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005677, allocations: 4 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.005752, allocations: 57.06 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.005759, allocations: 4 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-06/0.005768, allocations: 0 / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.005775, allocations: 0 / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.005787, allocations: 7.938 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.00579, allocations: 4.031 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.005825, allocations: 75.28 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.005825, allocations: 0 / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002066/0.006032, allocations: 15.98 kB / 1.003 GB, free: 4.293 MB / 0.9512 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.0002054/0.006237, allocations: 115.1 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.006309, allocations: 15.92 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.006311, allocations: 0 / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.006319, allocations: 4 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.006443, allocations: 0 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.006634, allocations: 81 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.006686, allocations: 51.36 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.35e-05/0.006699, allocations: 11.98 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.006719, allocations: 12.48 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.006719, allocations: 0 / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of Templates: time 0.002775/0.009494, allocations: 436.4 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.8669890984892845]