Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0008329/0.0008329, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001589/0.001589, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.903/0.903, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.711/1.711, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.168e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001163/0.001185, allocations: 0.5917 MB / 0.9511 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003636/0.001548, allocations: 163.4 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.225e-05/0.00156, allocations: 0 / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.001575, allocations: 3.938 kB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.001581, allocations: 4 kB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.00192, allocations: 51.83 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.00196, allocations: 3.984 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.001997, allocations: 0 / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.00202, allocations: 0 / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.002041, allocations: 4 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.956e-06/0.00205, allocations: 0 / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.002184, allocations: 55.88 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.002197, allocations: 0 / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.002209, allocations: 0 / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.002471, allocations: 55.81 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002473, allocations: 0 / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.303e-06/0.002474, allocations: 0 / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.002478, allocations: 0 / 0.9514 GB, free: 2.535 MB / 0.9011 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.000213/0.002691, allocations: 248.2 kB / 0.9517 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.002726, allocations: 8.031 kB / 0.9517 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.002753, allocations: 30.75 kB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.002773, allocations: 0.9375 kB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.459e-05/0.002828, allocations: 105.8 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.002836, allocations: 4.375 kB / 0.9518 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.002842, allocations: 384 / 0.9518 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/0.002917, allocations: 30.27 kB / 0.9519 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.002923, allocations: 192 / 0.9519 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.002931, allocations: 8.297 kB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.002937, allocations: 8.125 kB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.002953, allocations: 0 / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.003058, allocations: 116.7 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.003093, allocations: 22.61 kB / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.003106, allocations: 4.859 kB / 0.952 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.003497, allocations: 71.98 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.003518, allocations: 38.55 kB / 0.9521 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003519, allocations: 0 / 0.9521 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.003631, allocations: 33.64 kB / 0.9521 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.003658, allocations: 55.34 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.405e-05/0.003682, allocations: 89.86 kB / 0.9523 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.003692, allocations: 29.7 kB / 0.9523 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.003709, allocations: 80.27 kB / 0.9524 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.003735, allocations: 11.92 kB / 0.9524 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.003754, allocations: 9.719 kB / 0.9524 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.003829, allocations: 318.8 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.003838, allocations: 3.984 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.003842, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.003864, allocations: 12.8 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.003866, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.08e-05/0.003897, allocations: 33.64 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.003908, allocations: 8 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.003913, allocations: 4.094 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.003924, allocations: 0 / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.003959, allocations: 0 / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.003967, allocations: 7.938 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-06/0.003975, allocations: 3.984 kB / 0.9528 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.003983, allocations: 7.984 kB / 0.9528 GB, free: 0.9609 MB / 0.9011 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 4.582e-05/0.004028, allocations: 109.8 kB / 0.9529 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-06/0.004031, allocations: 0 / 0.9529 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.004086, allocations: 36.64 kB / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004087, allocations: 0 / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.004092, allocations: 11.91 kB / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004094, allocations: 4 kB / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.184e-05/0.004156, allocations: 120.8 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004157, allocations: 0 / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-06/0.004163, allocations: 0 / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.004164, allocations: 4 kB / 0.9531 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00417, allocations: 0 / 0.9531 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00417, allocations: 0 / 0.9531 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.004173, allocations: 3.938 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.461e-05/0.004217, allocations: 61.12 kB / 0.9531 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-06/0.00422, allocations: 4.031 kB / 0.9531 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.004228, allocations: 0 / 0.9531 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-06/0.004232, allocations: 3.938 kB / 0.9531 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.004243, allocations: 3.938 kB / 0.9531 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.004245, allocations: 4 kB / 0.9531 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.004265, allocations: 75.28 kB / 0.9532 GB, free: 464 kB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.004265, allocations: 0 / 0.9532 GB, free: 464 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001333/0.004399, allocations: 8 kB / 0.9532 GB, free: 456 kB / 0.9011 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.0002983/0.004697, allocations: 0.6164 MB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.505e-05/0.004752, allocations: 7.938 kB / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004753, allocations: 0 / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.004757, allocations: 4 kB / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.43e-05/0.004852, allocations: 10.12 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.005082, allocations: 114.4 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.005115, allocations: 55.48 kB / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.216e-06/0.005123, allocations: 4 kB / 0.954 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.005137, allocations: 8.5 kB / 0.954 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.005138, allocations: 0 / 0.954 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.02219, allocations: 1.795 MB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.92, allocations: 6.875 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_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_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 11.082942167297006]