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.0008659/0.0008659, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009557/0.0009557, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8803/0.8803, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.816/1.816, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.639e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002196/0.002223, allocations: 1.452 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004562/0.002679, allocations: 243.9 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.002712, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.002745, allocations: 7.922 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.002788, allocations: 7.875 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.003169, allocations: 55.77 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.003243, allocations: 23.92 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.003329, allocations: 3.984 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.00338, allocations: 11.98 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.003414, allocations: 15.94 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003426, allocations: 4 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.003546, allocations: 55.94 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.003559, allocations: 0 / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.003576, allocations: 4 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003711, allocations: 75.7 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003713, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003714, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003718, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 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.0003379/0.004056, allocations: 266.3 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.004097, allocations: 16.75 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.004125, allocations: 30.75 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.004154, allocations: 0.9375 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.004232, allocations: 109.7 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004241, allocations: 4.359 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.004248, allocations: 384 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.004371, allocations: 46.25 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.004378, allocations: 192 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004386, allocations: 384 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.004393, allocations: 12.11 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.00448, allocations: 35.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.004746, allocations: 220 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.004824, allocations: 34.56 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.004869, allocations: 24.91 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.005238, allocations: 87.89 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.00526, allocations: 38.44 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005261, allocations: 4 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.005489, allocations: 77.64 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.005515, allocations: 51.41 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.005572, allocations: 106 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.005582, allocations: 25.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.005615, allocations: 84.14 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.00563, allocations: 3.953 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.005654, allocations: 13.72 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.005733, allocations: 318.8 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.005777, allocations: 19.97 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.005812, allocations: 19.98 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.005888, allocations: 48.77 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005889, allocations: 0 / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.964e-05/0.005989, allocations: 69.59 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006002, allocations: 4 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.006007, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.006018, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.006101, allocations: 11.98 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.006106, allocations: 4.031 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.006127, allocations: 4 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006132, allocations: 3.984 kB / 1.003 GB, free: 9.559 MB / 0.9636 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 5.33e-05/0.006186, allocations: 109.8 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.0062, allocations: 11.89 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.006323, allocations: 68.91 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006325, allocations: 0 / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.006329, allocations: 4.031 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006332, allocations: 0 / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.00643, allocations: 128.8 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006432, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.006455, allocations: 7.984 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.006457, allocations: 3.938 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.006463, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006463, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006464, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.006585, allocations: 167.5 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.006591, allocations: 3.938 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.0066, allocations: 0 / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.006636, allocations: 7.984 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.006666, allocations: 4 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.006667, allocations: 0 / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.006694, allocations: 83.28 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006694, allocations: 0 / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001623/0.006856, allocations: 19.92 kB / 1.004 GB, free: 8.867 MB / 0.9636 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.0003899/0.007246, allocations: 0.7162 MB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.007363, allocations: 39.89 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007364, allocations: 4.094 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.007404, allocations: 15.98 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.00757, allocations: 4 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.007868, allocations: 138.5 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.007906, allocations: 59.36 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.007923, allocations: 4 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.007979, allocations: 16.42 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of SimCode: time 7.62e-07/0.00798, allocations: 64 / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.02276, allocations: 2.199 MB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.86, allocations: 18.28 kB / 1.007 GB, free: 5.707 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.021486132405698]