Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.142/3.142, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 70.22 kB / 1.138 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3691, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00255/0.3716, allocations: 1.451 MB / 1.309 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.3723, allocations: 255.2 kB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.3723, allocations: 4 kB / 1.309 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.3724, allocations: 7.922 kB / 1.309 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.137e-05/0.3724, allocations: 7.922 kB / 1.309 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3728, allocations: 55.91 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.3729, allocations: 15.98 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.373, allocations: 4 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.373, allocations: 15.84 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.3731, allocations: 11.92 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3731, allocations: 4 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3733, allocations: 71.88 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.3733, allocations: 4 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.3733, allocations: 7.938 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.3735, allocations: 59.78 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3735, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3735, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3735, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 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.0004791/0.3739, allocations: 266.3 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.374, allocations: 8.922 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.374, allocations: 16.83 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3741, allocations: 102.5 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3742, allocations: 384 / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3742, allocations: 8.375 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3744, allocations: 46.23 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3744, allocations: 192 / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3744, allocations: 11.88 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3744, allocations: 0 / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3746, allocations: 43.89 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3749, allocations: 212.1 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3751, allocations: 38.5 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.3752, allocations: 20.89 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.3757, allocations: 79.92 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.3758, allocations: 30.56 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3758, allocations: 0 / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003692/0.3761, allocations: 89.58 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3762, allocations: 51.41 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.3763, allocations: 101.8 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3763, allocations: 25.7 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.3763, allocations: 88.09 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.3764, allocations: 7.938 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3764, allocations: 17.72 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3765, allocations: 319 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.3766, allocations: 15.98 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.3767, allocations: 11.98 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3768, allocations: 48.75 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3768, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.377, allocations: 69.67 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.377, allocations: 4 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.377, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.377, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.3771, allocations: 11.98 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3771, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.3772, allocations: 11.98 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3772, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 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.175e-05/0.3773, allocations: 121.8 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3773, allocations: 3.938 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3775, allocations: 72.91 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3775, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3775, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3775, allocations: 192 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3777, allocations: 132.7 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3777, allocations: 4.031 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3778, allocations: 7.984 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3778, allocations: 7.984 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3778, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3778, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3778, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.378, allocations: 179.3 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.378, allocations: 3.938 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.378, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.3781, allocations: 7.984 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.3782, allocations: 4 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3782, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.3782, allocations: 79.28 kB / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 1.311 GB, free: 13.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002437/0.3784, allocations: 16 kB / 1.311 GB, free: 13.17 MB / 1.014 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.0002045/0.3786, allocations: 120 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3789, allocations: 35.95 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3789, allocations: 0 / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.379, allocations: 23.98 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3792, allocations: 13.17 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.3795, allocations: 101.5 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3798, allocations: 0.6768 MB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.3799, allocations: 4 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3799, allocations: 11.44 kB / 1.312 GB, free: 12.13 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.3799, allocations: 64 / 1.312 GB, free: 12.13 MB / 1.014 GB Notification: Performance of Templates: time 0.003442/0.3833, allocations: 0.659 MB / 1.313 GB, free: 11.47 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 8.779791086912155]