Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001354/0.001354, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00148/0.00148, allocations: 193 kB / 22.11 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.256/3.256, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.39 kB / 1.137 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001735/0.3309, allocations: 0.5906 MB / 1.307 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000482/0.3314, allocations: 207.7 kB / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.3314, allocations: 0 / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.3314, allocations: 0 / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3314, allocations: 0 / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.3318, allocations: 55.83 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.725e-05/0.3318, allocations: 4 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.3318, allocations: 0 / 1.308 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.03e-05/0.3318, allocations: 0 / 1.308 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.605e-05/0.3319, allocations: 0 / 1.308 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.3319, allocations: 7.984 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.332, allocations: 63.88 kB / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.926e-06/0.332, allocations: 0 / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.332, allocations: 0 / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3321, allocations: 39.88 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3322, allocations: 4 kB / 1.308 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3322, allocations: 0 / 1.308 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3322, allocations: 0 / 1.308 GB, free: 0.8359 MB / 0.9981 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.0002868/0.3324, allocations: 250.3 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3325, allocations: 12.03 kB / 1.308 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.3325, allocations: 4.938 kB / 1.308 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.3326, allocations: 102.5 kB / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3326, allocations: 384 / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-06/0.3326, allocations: 384 / 1.308 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.3327, allocations: 34.2 kB / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3327, allocations: 192 / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3327, allocations: 3.938 kB / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3327, allocations: 0 / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.3327, allocations: 0 / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3329, allocations: 128.8 kB / 1.308 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.3329, allocations: 14.58 kB / 1.308 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.3329, allocations: 4.859 kB / 1.308 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.3334, allocations: 79.94 kB / 1.308 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3335, allocations: 38.56 kB / 1.308 GB, free: 52 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3335, allocations: 3.938 kB / 1.308 GB, free: 48 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.3336, allocations: 33.64 kB / 1.308 GB, free: 8 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3337, allocations: 51.41 kB / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/0.3337, allocations: 89.86 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3337, allocations: 29.7 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3337, allocations: 80.14 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3338, allocations: 4.125 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3338, allocations: 13.72 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3339, allocations: 314.8 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.3339, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.334, allocations: 11.94 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.334, allocations: 4.859 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.334, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.335e-05/0.334, allocations: 37.77 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.334, allocations: 8.031 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.334, allocations: 0 / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3341, allocations: 3.938 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.3341, allocations: 4 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3341, allocations: 3.984 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.3341, allocations: 0 / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.3341, allocations: 3.938 kB / 1.309 GB, free: 15.3 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 (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 7.072e-05/0.3342, allocations: 113.7 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.3342, allocations: 0 / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.3343, allocations: 44.64 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.3343, allocations: 4 kB / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3343, allocations: 0 / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3343, allocations: 3.984 kB / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/0.3344, allocations: 112.8 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3344, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3344, allocations: 4 kB / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3344, allocations: 0 / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3344, allocations: 3.938 kB / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3344, allocations: 0 / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3344, allocations: 4.031 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.98e-05/0.3345, allocations: 65.06 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-06/0.3345, allocations: 0 / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.3345, allocations: 3.938 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.3345, allocations: 3.984 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.3345, allocations: 0 / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3345, allocations: 0 / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.3345, allocations: 83.31 kB / 1.309 GB, free: 14.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.3345, allocations: 0 / 1.309 GB, free: 14.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002018/0.3347, allocations: 19.86 kB / 1.309 GB, free: 14.77 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 (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.0001854/0.3349, allocations: 112 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.335, allocations: 8 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.335, allocations: 0 / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.335, allocations: 15.92 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.3351, allocations: 0.9375 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.3353, allocations: 80.12 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3356, allocations: 0.6729 MB / 1.31 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.3356, allocations: 4 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.3356, allocations: 7.438 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3356, allocations: 0 / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of Templates: time 0.002527/0.3381, allocations: 418 kB / 1.311 GB, free: 13.41 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.96422346495092]