Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001811/0.001811, allocations: 104.4 kB / 16.45 MB, free: 6.453 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.002331/0.002331, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.595/1.595, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.341/3.341, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.002126/0.002126, allocations: 76.03 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4022, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002903/0.4051, allocations: 1.449 MB / 1.349 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.4057, allocations: 263.6 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.4058, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.4058, allocations: 7.938 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4058, allocations: 0 / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.4062, allocations: 59.77 kB / 1.349 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.4063, allocations: 23.92 kB / 1.35 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4064, allocations: 4 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.4064, allocations: 15.97 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.4065, allocations: 7.938 kB / 1.35 GB, free: 8.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4065, allocations: 4 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.4066, allocations: 63.88 kB / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.4066, allocations: 3.984 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.4067, allocations: 15.94 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.4068, allocations: 52.08 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4068, allocations: 0 / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4068, allocations: 0 / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4068, allocations: 0 / 1.35 GB, free: 8.02 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.0005266/0.4074, allocations: 347.3 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4074, allocations: 15.92 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.4075, allocations: 42.73 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.4075, allocations: 0.9375 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4076, allocations: 168.3 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4077, allocations: 384 / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.4077, allocations: 4.375 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4078, allocations: 50.23 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4079, allocations: 3.938 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.4079, allocations: 0 / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4079, allocations: 4 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4081, allocations: 39.95 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.4084, allocations: 244.9 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4086, allocations: 38.5 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.4087, allocations: 24.89 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.4094, allocations: 453.5 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4095, allocations: 34.55 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.4095, allocations: 4 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.4099, allocations: 81.59 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4099, allocations: 55.39 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.41, allocations: 101.9 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.41, allocations: 25.7 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.4101, allocations: 84.12 kB / 1.351 GB, free: 5.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4101, allocations: 3.953 kB / 1.351 GB, free: 5.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.4101, allocations: 21.7 kB / 1.351 GB, free: 5.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.4104, allocations: 318.9 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.4105, allocations: 15.98 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4105, allocations: 15.98 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4107, allocations: 40.75 kB / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4107, allocations: 7.938 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.4109, allocations: 69.62 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4109, allocations: 10.19 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.411, allocations: 3.984 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.411, allocations: 0 / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.411, allocations: 4 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.411, allocations: 0 / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.4111, allocations: 11.98 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.4111, allocations: 0 / 1.352 GB, free: 5.395 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 0.0002236/0.4113, allocations: 117.8 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4114, allocations: 0 / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4116, allocations: 76.91 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4116, allocations: 3.984 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4116, allocations: 3.984 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4116, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4118, allocations: 157.6 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4118, allocations: 4.031 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.4119, allocations: 11.98 kB / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4119, allocations: 0 / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4119, allocations: 0 / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4119, allocations: 0 / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4119, allocations: 0 / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.4122, allocations: 167.5 kB / 1.352 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.4122, allocations: 85 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4122, allocations: 8 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.4123, allocations: 3.984 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4123, allocations: 4 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4123, allocations: 0 / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.4124, allocations: 83.27 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4124, allocations: 0 / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002464/0.4127, allocations: 15.94 kB / 1.353 GB, free: 4.562 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.000697/0.4133, allocations: 0.7185 MB / 1.353 GB, free: 3.816 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.4136, allocations: 39.89 kB / 1.353 GB, free: 3.777 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4136, allocations: 4 kB / 1.353 GB, free: 3.773 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.4137, allocations: 15.92 kB / 1.353 GB, free: 3.758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.4139, allocations: 7.938 kB / 1.353 GB, free: 3.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.4144, allocations: 155 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4147, allocations: 0.6729 MB / 1.354 GB, free: 2.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.4148, allocations: 4 kB / 1.354 GB, free: 2.855 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.4148, allocations: 11.42 kB / 1.354 GB, free: 2.844 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4148, allocations: 0 / 1.354 GB, free: 2.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.4427, allocations: 1.512 MB / 1.356 GB, free: 1.402 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.813, allocations: 8.688 kB / 1.356 GB, free: 1.398 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_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_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.976130087859929]