Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001725/0.001725, allocations: 79.83 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.002323/0.002323, allocations: 164.8 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.714/2.714, allocations: 359 MB / 0.6037 GB, free: 14.96 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.71e-05, allocations: 5.094 kB / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001575/0.001602, allocations: 0.5878 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005078/0.002109, allocations: 167.4 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.002125, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.002137, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.002142, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.002527, allocations: 55.75 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.002572, allocations: 8 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.002604, allocations: 0 / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.002628, allocations: 0 / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.002651, allocations: 4 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.002662, allocations: 0 / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.002856, allocations: 63.81 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.002868, allocations: 0 / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.00289, allocations: 3.984 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003029, allocations: 31.95 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003031, allocations: 3.938 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.011e-06/0.003032, allocations: 4 kB / 0.9519 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.003037, allocations: 0 / 0.9519 GB, free: 10.56 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.0003875/0.003425, allocations: 246.3 kB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.003475, allocations: 16.03 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.003524, allocations: 4.938 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.003631, allocations: 101.8 kB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.003644, allocations: 384 / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.003651, allocations: 384 / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.003753, allocations: 38.19 kB / 0.9523 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003762, allocations: 192 / 0.9523 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.00377, allocations: 384 / 0.9523 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003774, allocations: 384 / 0.9523 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.003795, allocations: 3.938 kB / 0.9523 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.003921, allocations: 101.3 kB / 0.9524 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.003971, allocations: 18.58 kB / 0.9524 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.00399, allocations: 8.953 kB / 0.9524 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.004538, allocations: 75.91 kB / 0.9525 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.004567, allocations: 34.5 kB / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.004568, allocations: 4 kB / 0.9526 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.004704, allocations: 33.7 kB / 0.9526 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.00475, allocations: 51.41 kB / 0.9526 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.004804, allocations: 89.86 kB / 0.9527 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.00482, allocations: 25.7 kB / 0.9527 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.004857, allocations: 84.08 kB / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.004888, allocations: 7.953 kB / 0.9528 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.004923, allocations: 13.72 kB / 0.9528 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.005074, allocations: 322.8 kB / 0.9532 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.005084, allocations: 0 / 0.9532 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.005093, allocations: 7.938 kB / 0.9532 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.00512, allocations: 9.047 kB / 0.9532 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005121, allocations: 0 / 0.9532 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.876e-05/0.00518, allocations: 37.7 kB / 0.9532 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005193, allocations: 4 kB / 0.9532 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005198, allocations: 0 / 0.9532 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.005212, allocations: 0 / 0.9532 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.005251, allocations: 4 kB / 0.9532 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005254, allocations: 0 / 0.9532 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.005269, allocations: 7.922 kB / 0.9532 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005274, allocations: 0 / 0.9532 GB, free: 9.062 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 7.905e-05/0.005353, allocations: 109.9 kB / 0.9533 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.00536, allocations: 4 kB / 0.9533 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.005433, allocations: 40.58 kB / 0.9534 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005435, allocations: 0 / 0.9534 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.005439, allocations: 0 / 0.9534 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.005445, allocations: 3.984 kB / 0.9534 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.686e-05/0.005532, allocations: 101.3 kB / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.005535, allocations: 4 kB / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.005547, allocations: 0 / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005548, allocations: 0 / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.005553, allocations: 4.031 kB / 0.9535 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.005557, allocations: 4 kB / 0.9535 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.005558, allocations: 0 / 0.9535 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.096e-05/0.005649, allocations: 65 kB / 0.9535 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.005653, allocations: 0 / 0.9535 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.005662, allocations: 4 kB / 0.9535 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-06/0.005669, allocations: 0 / 0.9535 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.00568, allocations: 3.984 kB / 0.9536 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.005682, allocations: 0 / 0.9536 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.005718, allocations: 79.28 kB / 0.9536 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.005718, allocations: 3.938 kB / 0.9536 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001951/0.005913, allocations: 19.97 kB / 0.9537 GB, free: 8.562 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.0001974/0.00611, allocations: 119.2 kB / 0.9538 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.006172, allocations: 4 kB / 0.9538 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.006174, allocations: 0 / 0.9538 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.754e-06/0.006181, allocations: 8 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.0001166/0.006298, allocations: 4.062 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.0001824/0.00648, allocations: 92.84 kB / 0.9539 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.006529, allocations: 55.36 kB / 0.9539 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.526e-06/0.006538, allocations: 0 / 0.9539 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.006554, allocations: 8.5 kB / 0.9539 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.006554, allocations: 0 / 0.9539 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.002684/0.009239, allocations: 421.1 kB / 0.9543 GB, free: 7.809 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.619901899248362]