Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001968/0.001968, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002692/0.002692, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.045/3.045, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 65 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002886/0.3717, allocations: 1.456 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.3723, allocations: 239.3 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.3723, allocations: 0 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.3723, allocations: 3.938 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.3724, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.3727, allocations: 63.8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.404e-05/0.3728, allocations: 19.94 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.3729, allocations: 7.984 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.3729, allocations: 15.94 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.373, allocations: 3.984 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.373, allocations: 4 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3731, allocations: 63.88 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3732, allocations: 7.984 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.3732, allocations: 11.94 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3733, allocations: 47.86 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3733, allocations: 0 / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3733, allocations: 0 / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3733, allocations: 0 / 1.284 GB, free: 10.53 MB / 0.9825 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.0005075/0.3738, allocations: 279.8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3739, allocations: 12.03 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3739, allocations: 34.73 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.3739, allocations: 0.9375 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3741, allocations: 110.5 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3741, allocations: 384 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3741, allocations: 8.359 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3743, allocations: 54.17 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3743, allocations: 3.938 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3743, allocations: 0 / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3743, allocations: 8 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3745, allocations: 27.97 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.3748, allocations: 220 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3749, allocations: 38.56 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.375, allocations: 24.83 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.3756, allocations: 75.92 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3756, allocations: 30.56 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3756, allocations: 4 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003714/0.376, allocations: 81.7 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.376, allocations: 55.41 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.3761, allocations: 105.8 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3761, allocations: 25.7 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.3762, allocations: 80.14 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3762, allocations: 7.891 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.3762, allocations: 17.72 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3764, allocations: 314.8 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.3765, allocations: 19.98 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.3765, allocations: 15.98 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3767, allocations: 40.81 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3767, allocations: 7.875 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.3769, allocations: 61.67 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3769, allocations: 4 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3769, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3769, allocations: 4.094 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.377, allocations: 11.98 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.377, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.3771, allocations: 11.98 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3771, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 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.061e-05/0.3772, allocations: 109.8 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3772, allocations: 7.953 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3774, allocations: 76.91 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3774, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3774, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3774, allocations: 3.984 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3776, allocations: 132.7 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3776, allocations: 0 / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.3777, allocations: 7.984 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3777, allocations: 0 / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3777, allocations: 4 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3777, allocations: 3.938 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3777, allocations: 4 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.3779, allocations: 167.4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.3779, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3779, allocations: 4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.378, allocations: 7.984 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3781, allocations: 4.188 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3781, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.3781, allocations: 87.25 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002419/0.3784, allocations: 23.91 kB / 1.287 GB, free: 7.871 MB / 0.9825 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.0006944/0.3791, allocations: 0.7102 MB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.3793, allocations: 43.94 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3793, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.3794, allocations: 15.97 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3796, allocations: 4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.38, allocations: 155 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.005e-05/0.3801, allocations: 59.34 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.3801, allocations: 4 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.3802, allocations: 11.56 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3802, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4129, allocations: 2.052 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 0 / 1.29 GB, free: 4.852 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.267248121090233]