Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.89 kB / 1.059 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2732, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001774/0.275, allocations: 0.5963 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004965/0.2755, allocations: 179.4 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.2755, allocations: 3.828 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.2755, allocations: 0 / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.2755, allocations: 0 / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.2759, allocations: 59.81 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.748e-05/0.2759, allocations: 4 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.276, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.102e-05/0.276, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.276, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.276, allocations: 4 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.2762, allocations: 63.86 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.2762, allocations: 0 / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.2762, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2763, allocations: 36.16 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2763, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2763, allocations: 4 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2763, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 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.0003104/0.2766, allocations: 315.5 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2767, allocations: 8.031 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.2767, allocations: 42.69 kB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.2767, allocations: 4.938 kB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2768, allocations: 164.3 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2768, allocations: 384 / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.2769, allocations: 384 / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.2769, allocations: 26.27 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2769, allocations: 7.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.277, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.277, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.277, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2771, allocations: 149.7 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.2772, allocations: 26.55 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.2772, allocations: 8.797 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.2779, allocations: 453.5 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2779, allocations: 34.56 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2779, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.278, allocations: 41.59 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2781, allocations: 51.41 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.2781, allocations: 93.8 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2781, allocations: 25.7 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.2781, allocations: 80.14 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2782, allocations: 4.125 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2782, allocations: 13.72 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2783, allocations: 318.8 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.2783, allocations: 0 / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.2783, allocations: 4 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.2784, allocations: 4.859 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2784, allocations: 4 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.054e-05/0.2784, allocations: 29.7 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2784, allocations: 9.812 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2784, allocations: 7.938 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2785, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.771e-05/0.2785, allocations: 11.92 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2785, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.2785, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.2785, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 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.62e-05/0.2786, allocations: 113.8 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.2786, allocations: 4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.2787, allocations: 40.77 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2787, allocations: 3.984 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2787, allocations: 3.984 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2787, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2788, allocations: 141.7 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2788, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.2788, allocations: 4 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2788, allocations: 0 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2788, allocations: 3.938 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2788, allocations: 3.938 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2788, allocations: 4.031 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.896e-05/0.2789, allocations: 61.12 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2789, allocations: 77.11 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2789, allocations: 3.938 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-06/0.2789, allocations: 0 / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2789, allocations: 0 / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2789, allocations: 3.938 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.279, allocations: 83.31 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.279, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001844/0.2792, allocations: 15.92 kB / 1.219 GB, free: 12.07 MB / 0.9669 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.0004604/0.2796, allocations: 0.6254 MB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.2797, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2797, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.2797, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.2798, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2801, allocations: 122.6 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2804, allocations: 0.6768 MB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.2804, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.2804, allocations: 7.438 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.2804, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3034, allocations: 1.137 MB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.175, allocations: 6.875 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.398047190996294]