Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0014/0.0014, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 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.001563/0.001563, allocations: 169.2 kB / 23.55 MB, free: 0.9961 MB / 18.57 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.46/1.46, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.803/2.803, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8109 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.467e-05, allocations: 7.25 kB / 0.8109 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001855/0.00189, allocations: 0.584 MB / 0.8114 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.002402, allocations: 171 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.002413, allocations: 0 / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.002425, allocations: 0.875 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.00243, allocations: 0 / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.002821, allocations: 56.55 kB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.00286, allocations: 0 / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.002894, allocations: 1.688 kB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.002919, allocations: 4 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.002947, allocations: 7.984 kB / 0.8117 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.002957, allocations: 0 / 0.8117 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.00314, allocations: 51.88 kB / 0.8117 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.003153, allocations: 5.469 kB / 0.8117 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.003173, allocations: 0 / 0.8117 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.003329, allocations: 47.92 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003331, allocations: 0 / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003332, allocations: 1.062 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003335, allocations: 0 / 0.8118 GB, free: 1.09 MB / 0.7605 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.0003447/0.00368, allocations: 242.4 kB / 0.812 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.003719, allocations: 9.625 kB / 0.812 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.003763, allocations: 4.922 kB / 0.812 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.003865, allocations: 105.8 kB / 0.8121 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003878, allocations: 4.375 kB / 0.8121 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.003887, allocations: 1.094 kB / 0.8121 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.003999, allocations: 30.2 kB / 0.8121 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004008, allocations: 0.7188 kB / 0.8121 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004019, allocations: 5.984 kB / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.004028, allocations: 4.375 kB / 0.8122 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.00405, allocations: 3.938 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.004193, allocations: 93.33 kB / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.004263, allocations: 23.22 kB / 0.8123 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.00429, allocations: 8.859 kB / 0.8123 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.004892, allocations: 74.17 kB / 0.8124 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.004928, allocations: 31.94 kB / 0.8124 GB, free: 364 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.00493, allocations: 0 / 0.8124 GB, free: 364 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.005083, allocations: 33.7 kB / 0.8124 GB, free: 324 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.005129, allocations: 53.16 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.005204, allocations: 97.84 kB / 0.8126 GB, free: 152 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.005225, allocations: 25.7 kB / 0.8126 GB, free: 120 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.005269, allocations: 80.14 kB / 0.8127 GB, free: 36 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.005293, allocations: 0 / 0.8127 GB, free: 36 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.005325, allocations: 12.81 kB / 0.8127 GB, free: 20 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.005514, allocations: 322.8 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.005524, allocations: 3.938 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.005529, allocations: 3.938 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.005564, allocations: 8.859 kB / 0.813 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005566, allocations: 0 / 0.813 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.617e-05/0.005632, allocations: 34.97 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.005651, allocations: 8 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.005656, allocations: 0 / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.005675, allocations: 0 / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.005713, allocations: 0.625 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.005719, allocations: 0.5625 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.005736, allocations: 7.938 kB / 0.813 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005741, allocations: 0.8125 kB / 0.813 GB, free: 15.62 MB / 0.7761 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 9.4e-05/0.005835, allocations: 114.9 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.005843, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.308e-05/0.005926, allocations: 36.69 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005928, allocations: 6.469 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.005932, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005934, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.006161, allocations: 105.3 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006162, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.006178, allocations: 4 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00618, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.006186, allocations: 0.5312 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.006192, allocations: 4.797 kB / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006192, allocations: 0 / 0.8133 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.006286, allocations: 65.95 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.006294, allocations: 3.953 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.006304, allocations: 1.219 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.006311, allocations: 0 / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.006325, allocations: 7.984 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006327, allocations: 0 / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.006369, allocations: 76.12 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006369, allocations: 0 / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002139/0.006583, allocations: 18.16 kB / 0.8135 GB, free: 15.13 MB / 0.7761 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.0002278/0.00681, allocations: 116.2 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.006879, allocations: 11.94 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.006881, allocations: 1.125 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.006893, allocations: 7.938 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.007031, allocations: 0 / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.007246, allocations: 75.47 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.007301, allocations: 51.36 kB / 0.8137 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.308e-05/0.007314, allocations: 4.953 kB / 0.8137 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.007337, allocations: 12.5 kB / 0.8137 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of SimCode: time 3.9e-07/0.007338, allocations: 0 / 0.8137 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.002876/0.01021, allocations: 433.7 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.437590350979008]