Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001879/0.001879, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002384/0.002384, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.911/2.911, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.762e-05, allocations: 7.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003097/0.003125, allocations: 1.452 MB / 0.8122 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000686/0.003811, allocations: 232.1 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.003847, allocations: 0 / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.003879, allocations: 0.9688 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.003933, allocations: 3.938 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.00438, allocations: 57.31 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.004474, allocations: 27.86 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.004561, allocations: 0 / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.00463, allocations: 15.92 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.004679, allocations: 17.69 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004696, allocations: 4 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.004866, allocations: 47.95 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.004885, allocations: 4 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.004916, allocations: 7.922 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.005102, allocations: 69.38 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005104, allocations: 0 / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.12e-07/0.005105, allocations: 0 / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.005109, allocations: 0 / 0.8127 GB, free: 172 kB / 0.7605 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.0005327/0.005642, allocations: 267.9 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.005679, allocations: 8.031 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.005724, allocations: 8.891 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.005855, allocations: 109.8 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.005874, allocations: 9 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.005882, allocations: 1.625 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.006081, allocations: 46.25 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.00609, allocations: 192 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.006099, allocations: 1.531 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.006103, allocations: 384 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.006291, allocations: 45.2 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.006765, allocations: 192.6 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.00691, allocations: 32.31 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.007003, allocations: 20.91 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.007582, allocations: 77.75 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.007618, allocations: 35.03 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.007619, allocations: 0 / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.00041/0.008029, allocations: 91.39 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.008079, allocations: 55.39 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.00818, allocations: 100.2 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.008204, allocations: 29.7 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.008267, allocations: 80.14 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.008289, allocations: 7.938 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.008327, allocations: 17.7 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.008511, allocations: 314.8 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.008604, allocations: 16.7 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.008683, allocations: 17.67 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.008854, allocations: 45.28 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008856, allocations: 0.8125 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.009072, allocations: 62.52 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.00909, allocations: 9.734 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.009098, allocations: 3.938 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.009116, allocations: 0 / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.009218, allocations: 8 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.009223, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.009276, allocations: 8.797 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.009281, allocations: 2.281 kB / 0.8143 GB, free: 14.32 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 (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 9.059e-05/0.009372, allocations: 109.8 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.009397, allocations: 4 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.00965, allocations: 80.84 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.009656, allocations: 6.047 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.009659, allocations: 4 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.009662, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.009809, allocations: 97.33 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00981, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.009874, allocations: 9.016 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.009879, allocations: 4 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009886, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.00989, allocations: 5.062 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009891, allocations: 0 / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.01019, allocations: 168.3 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.0102, allocations: 5.625 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.01021, allocations: 4 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.01029, allocations: 12.11 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01034, allocations: 0 / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.01035, allocations: 4.484 kB / 0.8148 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.01041, allocations: 88.61 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01041, allocations: 0 / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002549/0.01066, allocations: 15.94 kB / 0.8149 GB, free: 13.67 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 (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.0002369/0.0109, allocations: 121 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01114, allocations: 35.5 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01114, allocations: 0 / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.01124, allocations: 27.91 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01149, allocations: 4 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.01184, allocations: 108.6 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.01192, allocations: 61.45 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.01194, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.01198, allocations: 8.5 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01198, allocations: 0 / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.003515/0.0155, allocations: 0.7014 MB / 0.816 GB, free: 12.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.78262915101368]