Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001286/0.001286, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001497/0.001497, allocations: 218.5 kB / 22.26 MB, free: 5.078 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.355/3.355, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",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.002063/0.002063, allocations: 66.45 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002986/0.37, allocations: 1.46 MB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006193/0.3706, allocations: 251.3 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.3707, allocations: 0 / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3707, allocations: 3.938 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.3707, allocations: 3.938 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3711, allocations: 55.83 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.3712, allocations: 27.92 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.3713, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.3713, allocations: 15.97 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.3713, allocations: 11.94 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3714, allocations: 4 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3715, allocations: 59.88 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.3715, allocations: 4 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.3715, allocations: 11.94 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.3717, allocations: 56.06 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3717, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3717, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3717, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 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.0004671/0.3722, allocations: 272.5 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3722, allocations: 19.97 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.3723, allocations: 30.75 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.3723, allocations: 4.875 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3724, allocations: 114.5 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.3724, allocations: 384 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3724, allocations: 384 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3726, allocations: 50.23 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3726, allocations: 3.938 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.3726, allocations: 0 / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3726, allocations: 8 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3728, allocations: 31.95 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3731, allocations: 216 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3732, allocations: 42.48 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.3733, allocations: 28.91 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/0.3739, allocations: 67.92 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3739, allocations: 34.56 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3739, allocations: 0 / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003711/0.3743, allocations: 85.58 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3743, allocations: 51.41 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3744, allocations: 101.8 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3744, allocations: 25.7 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.3745, allocations: 84.14 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3745, allocations: 7.953 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3746, allocations: 13.84 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3747, allocations: 318.8 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3748, allocations: 15.98 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.3749, allocations: 15.92 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.375, allocations: 36.83 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.375, allocations: 8 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.3752, allocations: 77.73 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3752, allocations: 4 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3752, allocations: 0 / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3752, allocations: 3.984 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.3753, allocations: 11.98 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3753, allocations: 3.984 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3754, allocations: 16.02 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.3754, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 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.317e-05/0.3755, allocations: 118.4 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3755, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3757, allocations: 72.91 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3757, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3757, allocations: 4 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3757, allocations: 4.031 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3759, allocations: 136.7 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3759, allocations: 3.938 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.376, allocations: 4 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.376, allocations: 7.984 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.376, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.376, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.376, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3762, allocations: 167.5 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.3762, allocations: 11.83 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3762, allocations: 0 / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.3763, allocations: 4 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3764, allocations: 7.984 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3764, allocations: 0 / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.3764, allocations: 83.28 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3764, allocations: 4.031 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.3766, allocations: 12 kB / 1.357 GB, free: 3.801 MB / 1.045 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.0006794/0.3773, allocations: 0.7085 MB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3776, allocations: 43.89 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3776, allocations: 3.938 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3777, allocations: 15.98 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3779, allocations: 5.688 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.3783, allocations: 147.1 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3787, allocations: 0.6768 MB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.3787, allocations: 0 / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3787, allocations: 15.44 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3787, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4076, allocations: 1.62 MB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.26, allocations: 4.547 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.398066110999935]