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.001974/0.001974, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002497/0.002497, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 9.121 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 2.894/2.894, allocations: 476.7 MB / 0.7672 GB, free: 5.219 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.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: 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.002092/0.002092, allocations: 70.19 kB / 1.112 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8363, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001624/0.8379, allocations: 0.5875 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.8384, allocations: 189.2 kB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.8384, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.8384, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-06/0.8384, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.8387, allocations: 51.84 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.641e-05/0.8388, allocations: 7.984 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.8388, allocations: 3.984 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.091e-05/0.8388, allocations: 0 / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.8388, allocations: 0 / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.141e-06/0.8388, allocations: 4 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.839, allocations: 63.77 kB / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.839, allocations: 0 / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.839, allocations: 0 / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.8391, allocations: 33.77 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8391, allocations: 0 / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.587e-06/0.8391, allocations: 4 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8391, allocations: 4 kB / 1.279 GB, free: 12.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003134/0.8394, allocations: 327.4 kB / 1.28 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8395, allocations: 8.031 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.8395, allocations: 34.75 kB / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.8395, allocations: 4.938 kB / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.8396, allocations: 160.4 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.8397, allocations: 384 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.8397, allocations: 384 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.8397, allocations: 34.25 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8397, allocations: 3.938 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.8398, allocations: 4 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.8398, allocations: 0 / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.8398, allocations: 0 / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.8399, allocations: 149.6 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.84, allocations: 22.61 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.84, allocations: 4.859 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/0.8407, allocations: 457.5 kB / 1.28 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.8407, allocations: 34.56 kB / 1.28 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8407, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000114/0.8408, allocations: 37.58 kB / 1.28 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.8409, allocations: 59.47 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.8409, allocations: 93.84 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.8409, allocations: 25.7 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.841, allocations: 80.14 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.841, allocations: 7.953 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.841, allocations: 13.72 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8412, allocations: 310.8 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.8412, allocations: 0 / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.8412, allocations: 8 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.8412, allocations: 4.859 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8412, allocations: 4 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.639e-05/0.8413, allocations: 37.62 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8413, allocations: 4 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8413, allocations: 3.938 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.8413, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.8413, allocations: 4 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.8413, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.8413, allocations: 4.094 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.8413, allocations: 0 / 1.281 GB, free: 10.2 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 (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 6.999e-05/0.8414, allocations: 109.8 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.8414, allocations: 4 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/0.8415, allocations: 40.75 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8415, allocations: 0 / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8415, allocations: 3.984 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.8415, allocations: 3.938 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8416, allocations: 141.7 kB / 1.281 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.8416, allocations: 4 kB / 1.281 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.8416, allocations: 11.98 kB / 1.281 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8416, allocations: 4 kB / 1.281 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.8416, allocations: 3.938 kB / 1.281 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8416, allocations: 0 / 1.281 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8416, allocations: 0 / 1.281 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.8417, allocations: 53.14 kB / 1.281 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.8418, allocations: 81.14 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.8418, allocations: 7.922 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.8418, allocations: 0 / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.8418, allocations: 3.938 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.8418, allocations: 0 / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.8418, allocations: 83.28 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8418, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001981/0.842, allocations: 11.94 kB / 1.282 GB, free: 9.535 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 (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.0004683/0.8425, allocations: 0.6228 MB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.8426, allocations: 3.984 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8426, allocations: 4.094 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-06/0.8426, allocations: 7.938 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.8427, allocations: 0 / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.843, allocations: 118.4 kB / 1.282 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.8433, allocations: 0.6768 MB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.257e-06/0.8433, allocations: 0 / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.8433, allocations: 7.438 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8433, allocations: 0 / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.8677, allocations: 1.157 MB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.777, allocations: 20.42 kB / 1.284 GB, free: 6.914 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.22814110899344]