Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001284/0.001284, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.001295/0.001295, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.1 MB / 0.7177 GB, free: 4.746 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00177/0.3252, allocations: 0.5872 MB / 1.176 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.3257, allocations: 187.8 kB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.3258, allocations: 0 / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.3258, allocations: 0 / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.3258, allocations: 4 kB / 1.177 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.3262, allocations: 47.84 kB / 1.177 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.3262, allocations: 7.984 kB / 1.177 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.3263, allocations: 3.984 kB / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/0.3263, allocations: 7.938 kB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.86e-05/0.3263, allocations: 4 kB / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3263, allocations: 0 / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3265, allocations: 51.89 kB / 1.177 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-06/0.3265, allocations: 0 / 1.177 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.3266, allocations: 8 kB / 1.177 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3267, allocations: 39.81 kB / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3267, allocations: 0 / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3267, allocations: 0 / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3267, allocations: 0 / 1.177 GB, free: 4.914 MB / 0.92 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.0003693/0.3271, allocations: 315.5 kB / 1.177 GB, free: 4.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3271, allocations: 16.03 kB / 1.177 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3272, allocations: 0.9375 kB / 1.177 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3273, allocations: 164.4 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3273, allocations: 384 / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.3273, allocations: 384 / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3275, allocations: 34.2 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3275, allocations: 192 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3275, allocations: 3.938 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3275, allocations: 0 / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.3275, allocations: 3.984 kB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3277, allocations: 145.7 kB / 1.177 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.3278, allocations: 22.61 kB / 1.177 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.3278, allocations: 4.859 kB / 1.177 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00077/0.3286, allocations: 457.5 kB / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3286, allocations: 34.5 kB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3286, allocations: 0 / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.3288, allocations: 41.59 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3288, allocations: 51.41 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.3289, allocations: 89.86 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3289, allocations: 29.7 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3289, allocations: 80.27 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.329, allocations: 4 kB / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.329, allocations: 13.7 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3292, allocations: 314.8 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.3292, allocations: 4 kB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.3292, allocations: 0 / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.3292, allocations: 12.8 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3292, allocations: 0 / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.871e-05/0.3293, allocations: 33.77 kB / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3293, allocations: 4 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3293, allocations: 3.938 kB / 1.179 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3293, allocations: 11.86 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.3294, allocations: 4 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3294, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-06/0.3294, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.3294, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 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.708e-05/0.3295, allocations: 109.8 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3295, allocations: 8.031 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.3296, allocations: 44.69 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3296, allocations: 0 / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3296, allocations: 0 / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3296, allocations: 0 / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3297, allocations: 141.7 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3298, allocations: 4 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.3298, allocations: 4 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3298, allocations: 0 / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3298, allocations: 3.938 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3298, allocations: 4.031 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3298, allocations: 3.984 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/0.3299, allocations: 61.08 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3299, allocations: 81.09 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.33, allocations: 3.938 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.33, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.33, allocations: 3.984 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.33, allocations: 8.031 kB / 1.179 GB, free: 2.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.33, allocations: 75.28 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.33, allocations: 0 / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001938/0.3302, allocations: 11.94 kB / 1.179 GB, free: 2.074 MB / 0.92 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.0002248/0.3305, allocations: 123.2 kB / 1.179 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.3306, allocations: 11.98 kB / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3306, allocations: 0 / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.3306, allocations: 4 kB / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3307, allocations: 0 / 1.179 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.3309, allocations: 102.6 kB / 1.179 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3312, allocations: 0.6729 MB / 1.18 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.3313, allocations: 19.36 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3313, allocations: 0 / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of Templates: time 0.002114/0.3334, allocations: 0.5582 MB / 1.181 GB, free: 0.5156 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.297657354036346]