Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008047/0.0008047, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008059/0.0008059, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9151/0.9151, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.745/1.745, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9823 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.358e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009974/0.001021, allocations: 0.5917 MB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003344/0.001355, allocations: 179.3 kB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.001366, allocations: 0 / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.001379, allocations: 0 / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.001385, allocations: 0 / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.001705, allocations: 55.77 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.001744, allocations: 4 kB / 0.9831 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.001777, allocations: 3.984 kB / 0.9831 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.001798, allocations: 4 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.001816, allocations: 0 / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.001824, allocations: 0 / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.00195, allocations: 51.95 kB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.001961, allocations: 4 kB / 0.9831 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.171e-05/0.001973, allocations: 3.938 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002078, allocations: 47.8 kB / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.002079, allocations: 0 / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00208, allocations: 0 / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002084, allocations: 4 kB / 0.9832 GB, free: 1.09 MB / 0.9323 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.0002011/0.002285, allocations: 246.4 kB / 0.9834 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.002316, allocations: 8.031 kB / 0.9834 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.002343, allocations: 4.938 kB / 0.9834 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.94e-05/0.002392, allocations: 101.8 kB / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002401, allocations: 384 / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.002408, allocations: 384 / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.002482, allocations: 38.23 kB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.002489, allocations: 192 / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.002496, allocations: 384 / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.0025, allocations: 384 / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.002518, allocations: 15.88 kB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.125e-05/0.00261, allocations: 105.3 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.282e-05/0.002642, allocations: 14.58 kB / 0.9837 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.002656, allocations: 8.953 kB / 0.9837 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.003028, allocations: 79.91 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.003049, allocations: 34.56 kB / 0.9838 GB, free: 340 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.00305, allocations: 0 / 0.9838 GB, free: 340 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.003165, allocations: 33.64 kB / 0.9838 GB, free: 300 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.003191, allocations: 55.41 kB / 0.9839 GB, free: 232 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.68e-05/0.003217, allocations: 89.86 kB / 0.984 GB, free: 132 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.003225, allocations: 29.64 kB / 0.984 GB, free: 96 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.003243, allocations: 80.14 kB / 0.9841 GB, free: 12 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.003269, allocations: 4 kB / 0.9841 GB, free: 8 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.003302, allocations: 13.7 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.003378, allocations: 322.8 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-06/0.003387, allocations: 4.125 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.003392, allocations: 3.938 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.003413, allocations: 8.859 kB / 0.9844 GB, free: 15.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003415, allocations: 0 / 0.9844 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.437e-05/0.003449, allocations: 37.64 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.00346, allocations: 8 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.003464, allocations: 3.984 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.003475, allocations: 0 / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.47e-05/0.00351, allocations: 0 / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.003514, allocations: 4.094 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.003522, allocations: 7.938 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.003527, allocations: 0 / 0.9845 GB, free: 15.58 MB / 0.948 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 4.696e-05/0.003574, allocations: 105.8 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-06/0.003576, allocations: 0 / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.003628, allocations: 36.69 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.00363, allocations: 0 / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.003634, allocations: 7.938 kB / 0.9846 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.003636, allocations: 0 / 0.9846 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.552e-05/0.003682, allocations: 101.3 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003682, allocations: 4.031 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-06/0.003687, allocations: 4 kB / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.003688, allocations: 0 / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.003692, allocations: 0 / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.003693, allocations: 0 / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003694, allocations: 0 / 0.9847 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.785e-05/0.003732, allocations: 61.06 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-06/0.003735, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.003743, allocations: 4 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-06/0.003746, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.003757, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-07/0.003758, allocations: 8.031 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.003776, allocations: 75.28 kB / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003776, allocations: 0 / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001299/0.003906, allocations: 23.92 kB / 0.9849 GB, free: 15.09 MB / 0.948 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.0001395/0.004045, allocations: 123 kB / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.535e-05/0.004101, allocations: 11.98 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004102, allocations: 3.938 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-06/0.004106, allocations: 7.938 kB / 0.985 GB, free: 14.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.354e-05/0.0042, allocations: 0 / 0.985 GB, free: 14.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.004427, allocations: 102.7 kB / 0.9851 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.004458, allocations: 55.22 kB / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.004471, allocations: 8.5 kB / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.004472, allocations: 0 / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of Templates: time 0.001374/0.005846, allocations: 0.5778 MB / 0.9858 GB, free: 14.15 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.895884433761239]