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.002626/0.002626, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003099/0.003099, allocations: 157.7 kB / 23.55 MB, free: 0.8672 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.333e-06/1.333e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.384e-05, allocations: 4.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002673/0.002707, allocations: 1.458 MB / 0.8122 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.00327, allocations: 229.5 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.003291, allocations: 4 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.003313, allocations: 4.844 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.003359, allocations: 3.984 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.003719, allocations: 56.3 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.003777, allocations: 21.31 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.00385, allocations: 11.97 kB / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.003907, allocations: 11.94 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.003942, allocations: 9.141 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.003954, allocations: 0 / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.004103, allocations: 59.88 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.004118, allocations: 5.375 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.00414, allocations: 11.92 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004307, allocations: 55.86 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004309, allocations: 0 / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00431, allocations: 5.344 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004314, allocations: 0 / 0.8127 GB, free: 180 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.0005111/0.004825, allocations: 364.2 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.004864, allocations: 12.62 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.004914, allocations: 4.891 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.005032, allocations: 114 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005046, allocations: 4.375 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.005056, allocations: 4.312 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.005199, allocations: 42.78 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005208, allocations: 4.188 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.00522, allocations: 10.3 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.005224, allocations: 384 / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.005338, allocations: 19.92 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.00592, allocations: 251.8 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.006039, allocations: 44.97 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.00611, allocations: 27.72 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004674/0.006578, allocations: 69.11 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.006619, allocations: 38.11 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.00662, allocations: 0.5312 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003101/0.00693, allocations: 74.97 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.006977, allocations: 55.34 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.007104, allocations: 157.9 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007122, allocations: 26.61 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.007205, allocations: 134.9 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.007221, allocations: 4.734 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.007262, allocations: 23.38 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.007522, allocations: 493.4 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.007578, allocations: 11.98 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.007624, allocations: 12.84 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.007725, allocations: 28.98 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007727, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.00789, allocations: 57.67 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007903, allocations: 9.156 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.007909, allocations: 3.938 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007922, allocations: 0 / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.007983, allocations: 5.844 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.007991, allocations: 4 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.008022, allocations: 3.984 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.008027, allocations: 0 / 0.8147 GB, free: 13.91 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 0.0001122/0.00814, allocations: 163.1 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.008162, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.008338, allocations: 60.92 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.008343, allocations: 4 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.00835, allocations: 4 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008353, allocations: 0.5 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.008509, allocations: 112.6 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00851, allocations: 1.125 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.008558, allocations: 11.92 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.00856, allocations: 0.9688 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.008568, allocations: 7.938 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.008573, allocations: 3.938 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008574, allocations: 0.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.008827, allocations: 209.4 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.008833, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.008843, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.008908, allocations: 8.625 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.008944, allocations: 3.984 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.008947, allocations: 1.344 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.009025, allocations: 127.2 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009025, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002311/0.009256, allocations: 19.94 kB / 0.8154 GB, free: 13.12 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.0002088/0.009465, allocations: 120.4 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.009646, allocations: 35.61 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009647, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.009723, allocations: 27.67 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.009938, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.01023, allocations: 120.7 kB / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.0103, allocations: 55.36 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.01033, allocations: 7.984 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.01035, allocations: 8.5 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01035, allocations: 0 / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.003523/0.01388, allocations: 0.7061 MB / 0.8165 GB, free: 12.01 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] 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.912532935035415]