Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 81.61 kB / 19.18 MB, free: 2.531 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.001803/0.001803, allocations: 167.7 kB / 22.46 MB, free: 5.355 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.753/2.753, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.248e-06/4.248e-06, allocations: 4 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.823e-05, allocations: 4.109 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001641/0.001669, allocations: 0.5802 MB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.002144, allocations: 175.4 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-06/0.002152, allocations: 3.938 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.897e-06/0.002161, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-06/0.002165, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.002497, allocations: 55.81 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 2.62e-05/0.002523, allocations: 3.938 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.002554, allocations: 0 / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.734e-05/0.002571, allocations: 4 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.002593, allocations: 11.92 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.002602, allocations: 0 / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.00276, allocations: 55.89 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.002768, allocations: 0 / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.002783, allocations: 3.984 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.00292, allocations: 43.88 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002923, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002923, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002927, allocations: 4 kB / 0.9519 GB, free: 10.57 MB / 0.8575 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.0002908/0.003217, allocations: 238.4 kB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003252, allocations: 15.97 kB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.003274, allocations: 4.938 kB / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.003356, allocations: 105.8 kB / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.003366, allocations: 384 / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.003371, allocations: 384 / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.003454, allocations: 30.27 kB / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003461, allocations: 192 / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.00347, allocations: 4.359 kB / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.003477, allocations: 384 / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.003494, allocations: 3.938 kB / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.003601, allocations: 101.3 kB / 0.9524 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.003646, allocations: 22.52 kB / 0.9524 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.003673, allocations: 12.95 kB / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.004215, allocations: 75.91 kB / 0.9525 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.004248, allocations: 38.56 kB / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.004249, allocations: 0 / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.004358, allocations: 33.7 kB / 0.9526 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.004395, allocations: 59.34 kB / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.004441, allocations: 89.86 kB / 0.9527 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.004454, allocations: 25.7 kB / 0.9528 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.004487, allocations: 80.14 kB / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.004503, allocations: 3.953 kB / 0.9528 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.004533, allocations: 17.7 kB / 0.9529 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.004674, allocations: 318.8 kB / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.004681, allocations: 0 / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.004686, allocations: 0 / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.004713, allocations: 13.05 kB / 0.9532 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.004715, allocations: 0 / 0.9532 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.242e-05/0.004767, allocations: 29.7 kB / 0.9532 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.004778, allocations: 8 kB / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.004781, allocations: 3.938 kB / 0.9532 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.00479, allocations: 0 / 0.9532 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.004821, allocations: 3.984 kB / 0.9532 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.004825, allocations: 4 kB / 0.9532 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.004835, allocations: 7.875 kB / 0.9532 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.004838, allocations: 0 / 0.9532 GB, free: 9.066 MB / 0.8575 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 6.723e-05/0.004905, allocations: 113.9 kB / 0.9533 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.004912, allocations: 0 / 0.9533 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.004979, allocations: 36.69 kB / 0.9534 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.00498, allocations: 4 kB / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.004983, allocations: 0 / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-06/0.004984, allocations: 0 / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.262e-05/0.005057, allocations: 101.2 kB / 0.9535 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005057, allocations: 0 / 0.9535 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.005076, allocations: 8 kB / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005078, allocations: 0 / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.005082, allocations: 7.969 kB / 0.9535 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.005083, allocations: 0 / 0.9535 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005084, allocations: 3.938 kB / 0.9535 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.005157, allocations: 69.05 kB / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.005161, allocations: 0 / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-06/0.005167, allocations: 0 / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.005174, allocations: 0 / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.005184, allocations: 4 kB / 0.9536 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.005186, allocations: 0 / 0.9536 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.005217, allocations: 75.28 kB / 0.9536 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.005217, allocations: 0 / 0.9536 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001946/0.005412, allocations: 23.95 kB / 0.9537 GB, free: 8.566 MB / 0.8575 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.0001947/0.005606, allocations: 115.1 kB / 0.9538 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.451e-05/0.005661, allocations: 11.94 kB / 0.9538 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005662, allocations: 0 / 0.9538 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.005673, allocations: 7.984 kB / 0.9538 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.005786, allocations: 5.844 kB / 0.9538 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.005959, allocations: 84.86 kB / 0.9539 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.006, allocations: 51.36 kB / 0.9539 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.065e-06/0.006008, allocations: 0 / 0.9539 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.006024, allocations: 12.5 kB / 0.9539 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.006024, allocations: 0 / 0.9539 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.00251/0.008534, allocations: 437.3 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.720863375812769]