Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008607/0.0008607, allocations: 80.48 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.0008036/0.0008036, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9046/0.9046, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.817e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001418/0.001446, allocations: 0.58 MB / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.001805, allocations: 179.3 kB / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.001816, allocations: 0 / 0.9525 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.00183, allocations: 4 kB / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.001837, allocations: 0 / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.002189, allocations: 59.75 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.002228, allocations: 0 / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.002262, allocations: 4 kB / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.002285, allocations: 0 / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.002308, allocations: 0 / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.002316, allocations: 0 / 0.9526 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.002455, allocations: 63.81 kB / 0.9526 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.002467, allocations: 3.984 kB / 0.9526 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.00248, allocations: 0 / 0.9526 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.002592, allocations: 47.88 kB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002595, allocations: 0 / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.01e-07/0.002595, allocations: 4 kB / 0.9527 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002599, allocations: 0 / 0.9527 GB, free: 2.016 MB / 0.9011 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.0002166/0.002815, allocations: 242.3 kB / 0.9529 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.002849, allocations: 12.03 kB / 0.9529 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.002875, allocations: 0.9375 kB / 0.9529 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.238e-05/0.002927, allocations: 101.8 kB / 0.953 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002937, allocations: 384 / 0.953 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.002945, allocations: 4.375 kB / 0.953 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.736e-05/0.003023, allocations: 34.2 kB / 0.9531 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003029, allocations: 192 / 0.9531 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003038, allocations: 4.375 kB / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003042, allocations: 384 / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.003061, allocations: 7.938 kB / 0.9531 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.877e-05/0.003149, allocations: 97.31 kB / 0.9532 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.378e-05/0.003183, allocations: 18.61 kB / 0.9532 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.003195, allocations: 8.797 kB / 0.9532 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.003603, allocations: 79.97 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003624, allocations: 34.5 kB / 0.9533 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/0.003626, allocations: 0 / 0.9533 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.003742, allocations: 41.66 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.003768, allocations: 51.41 kB / 0.9534 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.5e-05/0.003793, allocations: 89.86 kB / 0.9535 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.003801, allocations: 25.7 kB / 0.9535 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.003822, allocations: 84.12 kB / 0.9536 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.003848, allocations: 3.938 kB / 0.9536 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.003868, allocations: 13.84 kB / 0.9536 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.003944, allocations: 326.8 kB / 0.9539 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.003954, allocations: 0 / 0.9539 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.00396, allocations: 4 kB / 0.9539 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.003984, allocations: 16.8 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003985, allocations: 0 / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.849e-05/0.004024, allocations: 33.7 kB / 0.954 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004036, allocations: 4 kB / 0.954 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.00404, allocations: 0 / 0.954 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004052, allocations: 0 / 0.954 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.004095, allocations: 8.094 kB / 0.954 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.004101, allocations: 3.984 kB / 0.954 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-06/0.004109, allocations: 3.938 kB / 0.954 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.004113, allocations: 0 / 0.954 GB, free: 0.5117 MB / 0.9011 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.803e-05/0.004161, allocations: 105.8 kB / 0.9541 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-06/0.004165, allocations: 4 kB / 0.9541 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.004225, allocations: 40.64 kB / 0.9541 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004227, allocations: 0 / 0.9541 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.004231, allocations: 0 / 0.9541 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.004234, allocations: 7.922 kB / 0.9541 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.743e-05/0.004281, allocations: 101.3 kB / 0.9542 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004282, allocations: 0 / 0.9542 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.004289, allocations: 4 kB / 0.9542 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.00429, allocations: 0 / 0.9542 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.004296, allocations: 0 / 0.9542 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004297, allocations: 0 / 0.9542 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004298, allocations: 3.938 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.665e-05/0.004345, allocations: 72.98 kB / 0.9543 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-06/0.004348, allocations: 0 / 0.9543 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.004357, allocations: 0 / 0.9543 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-06/0.00436, allocations: 8.031 kB / 0.9543 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.004371, allocations: 0 / 0.9543 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004373, allocations: 0 / 0.9543 GB, free: 112 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.004392, allocations: 75.28 kB / 0.9544 GB, free: 36 kB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.004392, allocations: 0 / 0.9544 GB, free: 36 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001325/0.004525, allocations: 12 kB / 0.9544 GB, free: 24 kB / 0.9011 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.0001725/0.004697, allocations: 123.1 kB / 0.9545 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.004755, allocations: 4 kB / 0.9545 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004757, allocations: 0 / 0.9545 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.00476, allocations: 4 kB / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.668e-05/0.004857, allocations: 9.531 kB / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.005026, allocations: 110.5 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.005058, allocations: 55.36 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.005071, allocations: 8.5 kB / 0.9547 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.005072, allocations: 0 / 0.9547 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of Templates: time 0.001393/0.006465, allocations: 0.5667 MB / 0.9553 GB, free: 15.09 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.559493969194591]