Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001543/0.001543, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.996 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.372/3.372, allocations: 0.505 GB / 0.8101 GB, free: 22 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002107/0.002107, allocations: 68.19 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4105, allocations: 180.2 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001988/0.4125, allocations: 0.5891 MB / 1.353 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.4131, allocations: 203.7 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.4131, allocations: 3.938 kB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.4131, allocations: 0 / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.4131, allocations: 0 / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.4135, allocations: 59.81 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.136e-05/0.4136, allocations: 0 / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.4136, allocations: 0 / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.4136, allocations: 4 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.4137, allocations: 4 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.4137, allocations: 3.938 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.4139, allocations: 67.86 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.4139, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.4139, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.414, allocations: 40.16 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.414, allocations: 0 / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.414, allocations: 0 / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.414, allocations: 0 / 1.354 GB, free: 7.414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003386/0.4144, allocations: 246.4 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4144, allocations: 8.031 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.4145, allocations: 34.75 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.4145, allocations: 0.9375 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.4146, allocations: 110.5 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.4146, allocations: 384 / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4146, allocations: 384 / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4147, allocations: 34.19 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4147, allocations: 3.938 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.4147, allocations: 4 kB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4147, allocations: 4 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.4148, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.4149, allocations: 116.8 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.415, allocations: 18.61 kB / 1.354 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.415, allocations: 8.797 kB / 1.354 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/0.4156, allocations: 79.97 kB / 1.354 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4156, allocations: 30.56 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4156, allocations: 0 / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.4157, allocations: 41.58 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.4158, allocations: 51.41 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.4158, allocations: 93.84 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4158, allocations: 29.83 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.4159, allocations: 80.14 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4159, allocations: 7.953 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.4159, allocations: 13.72 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4161, allocations: 310.8 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.4161, allocations: 7.875 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.4161, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.4161, allocations: 12.92 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4161, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.393e-05/0.4162, allocations: 37.69 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4162, allocations: 10.03 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4162, allocations: 3.938 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4162, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.4162, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4162, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.4163, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4163, allocations: 4 kB / 1.355 GB, free: 5.844 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 (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.908e-05/0.4163, allocations: 117.8 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-06/0.4163, allocations: 0 / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.4164, allocations: 40.62 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4164, allocations: 0 / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4164, allocations: 0 / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4164, allocations: 0 / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.4165, allocations: 124.8 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4165, allocations: 0 / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.4165, allocations: 0 / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4165, allocations: 8.016 kB / 1.355 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4165, allocations: 7.938 kB / 1.355 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4165, allocations: 0 / 1.355 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4165, allocations: 0 / 1.355 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.698e-05/0.4166, allocations: 57.08 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.4166, allocations: 4 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4166, allocations: 3.938 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.4166, allocations: 7.922 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.4167, allocations: 4.031 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.4167, allocations: 0 / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.4167, allocations: 75.28 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001901/0.4169, allocations: 15.94 kB / 1.356 GB, free: 5.309 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 (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.0005158/0.4174, allocations: 0.6124 MB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.4175, allocations: 4 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4175, allocations: 0 / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.4175, allocations: 7.984 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.4176, allocations: 2.188 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4179, allocations: 114.5 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4183, allocations: 0.6729 MB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.12e-05/0.4183, allocations: 4 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.4183, allocations: 7.438 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4183, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.4465, allocations: 1.25 MB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.17, allocations: 12.09 kB / 1.358 GB, free: 2.664 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.311227813000187]