Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001842/0.001842, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002227/0.002227, allocations: 157.1 kB / 23.01 MB, free: 4.605 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.83 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8391, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002189/0.8413, allocations: 1.455 MB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000472/0.8418, allocations: 234.7 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.8418, allocations: 0 / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.8418, allocations: 4.547 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.8419, allocations: 2.047 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.8422, allocations: 57.45 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.8422, allocations: 23.95 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.8423, allocations: 8.234 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.8423, allocations: 7.906 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.8424, allocations: 9.062 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.8424, allocations: 5.906 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.8425, allocations: 62.03 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.8425, allocations: 7.516 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.8425, allocations: 5.859 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.8427, allocations: 56.7 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8427, allocations: 0 / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8427, allocations: 0 / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8427, allocations: 1.125 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003343/0.843, allocations: 266.8 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.8431, allocations: 11.19 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.8431, allocations: 8.891 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.43e-05/0.8432, allocations: 114.2 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.8432, allocations: 1.688 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.8432, allocations: 1.531 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.8433, allocations: 49.69 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8433, allocations: 192 / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.8433, allocations: 3.938 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8434, allocations: 1.062 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.8435, allocations: 37.25 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.8437, allocations: 190.9 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.8438, allocations: 39.64 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.8439, allocations: 23.31 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/0.8444, allocations: 76.31 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.8444, allocations: 36.38 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8444, allocations: 0 / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.8448, allocations: 79.53 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.8448, allocations: 53.3 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.8448, allocations: 100.6 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.8448, allocations: 25.7 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.8448, allocations: 89.97 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.8449, allocations: 14.02 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.8449, allocations: 13.12 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.8449, allocations: 312.9 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.845, allocations: 17.52 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.8451, allocations: 19.09 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.8452, allocations: 45.02 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8452, allocations: 1.438 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.8454, allocations: 69.66 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8454, allocations: 6.656 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8454, allocations: 0 / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8454, allocations: 1.125 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.8455, allocations: 8.531 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.8455, allocations: 0 / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.8456, allocations: 11.17 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.8456, allocations: 0 / 1.19 GB, free: 13.47 MB / 1.076 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 (2): * Single equations (assignments): 2 * 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 3.706e-05/0.8456, allocations: 108.6 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.8456, allocations: 13.59 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.8459, allocations: 76.62 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8459, allocations: 0 / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8459, allocations: 0.75 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8459, allocations: 1.312 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.846, allocations: 108 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.846, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.846, allocations: 9.359 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.846, allocations: 3.938 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.846, allocations: 2.016 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.846, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.846, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.8462, allocations: 163.8 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.8462, allocations: 10.36 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.8463, allocations: 5.109 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.8463, allocations: 5.859 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.8464, allocations: 2.344 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.8464, allocations: 1.781 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.8464, allocations: 84.03 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8464, allocations: 0 / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002481/0.8466, allocations: 18.75 kB / 1.191 GB, free: 12.93 MB / 1.076 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 (2): * Single equations (assignments): 2 * 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.000151/0.8468, allocations: 114.3 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.847, allocations: 35.86 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.847, allocations: 3.938 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.8471, allocations: 16.66 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.8473, allocations: 8.406 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.8475, allocations: 116.3 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.8476, allocations: 63.69 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.8476, allocations: 1.266 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.8476, allocations: 10.03 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.8476, allocations: 0.75 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of Templates: time 0.003128/0.8507, allocations: 0.6764 MB / 1.192 GB, free: 12.53 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 8.57904049102217]