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.001299/0.001299, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001563/0.001563, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.445/3.445, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.00219/0.00219, allocations: 71.02 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4332, allocations: 180.2 MB / 1.348 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002319/0.4355, allocations: 0.5797 MB / 1.348 GB, free: 9.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.4361, allocations: 203.7 kB / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.4361, allocations: 0 / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.4361, allocations: 0 / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.4361, allocations: 0 / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.4366, allocations: 59.83 kB / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.4366, allocations: 0 / 1.349 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.4367, allocations: 4 kB / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.4367, allocations: 0 / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.4367, allocations: 7.922 kB / 1.349 GB, free: 9.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.4367, allocations: 3.938 kB / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.4369, allocations: 59.94 kB / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.4369, allocations: 0 / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.4369, allocations: 0 / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.4371, allocations: 44.09 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4371, allocations: 0 / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4371, allocations: 4 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4371, allocations: 0 / 1.349 GB, free: 8.93 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.0003753/0.4375, allocations: 319.5 kB / 1.349 GB, free: 8.566 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4375, allocations: 11.98 kB / 1.349 GB, free: 8.555 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.4376, allocations: 30.75 kB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.4376, allocations: 0.9375 kB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4377, allocations: 160.4 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4377, allocations: 4.375 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.4377, allocations: 4.359 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.4378, allocations: 38.25 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4378, allocations: 7.875 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4378, allocations: 0 / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4379, allocations: 0 / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.4379, allocations: 7.938 kB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.4381, allocations: 141.7 kB / 1.349 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.4381, allocations: 14.58 kB / 1.349 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.4381, allocations: 8.953 kB / 1.349 GB, free: 8.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.4392, allocations: 461.5 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4393, allocations: 30.56 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.4393, allocations: 3.938 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.4394, allocations: 49.69 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4395, allocations: 55.41 kB / 1.35 GB, free: 7.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.4395, allocations: 89.86 kB / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.4396, allocations: 25.7 kB / 1.35 GB, free: 7.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.4396, allocations: 80.14 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4397, allocations: 3.953 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4397, allocations: 13.72 kB / 1.35 GB, free: 7.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.44, allocations: 310.8 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.44, allocations: 4 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.44, allocations: 0 / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.44, allocations: 16.84 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.44, allocations: 0 / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.283e-05/0.4401, allocations: 33.64 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.4402, allocations: 8 kB / 1.351 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.4402, allocations: 7.922 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4402, allocations: 0 / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.4403, allocations: 0 / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4403, allocations: 4.094 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-06/0.4403, allocations: 0 / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4403, allocations: 4 kB / 1.351 GB, free: 6.691 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 8.836e-05/0.4404, allocations: 105.8 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.4404, allocations: 3.984 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.4405, allocations: 48.7 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4405, allocations: 0 / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4405, allocations: 0 / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4405, allocations: 0 / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.4406, allocations: 153.7 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4406, allocations: 0 / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.4406, allocations: 0 / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4407, allocations: 0 / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.4407, allocations: 3.938 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4407, allocations: 4 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4407, allocations: 3.938 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.356e-05/0.4407, allocations: 61.12 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.4408, allocations: 77.11 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4408, allocations: 7.875 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-06/0.4408, allocations: 4 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.4408, allocations: 0 / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.4408, allocations: 3.938 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.4409, allocations: 75.28 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4409, allocations: 0 / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000229/0.4411, allocations: 15.94 kB / 1.351 GB, free: 6.027 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.0005766/0.4417, allocations: 0.6163 MB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.4418, allocations: 4 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4418, allocations: 4.094 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.4418, allocations: 7.938 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4419, allocations: 6.188 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.4423, allocations: 118.5 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4426, allocations: 0.669 MB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.929e-06/0.4426, allocations: 0 / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.4426, allocations: 7.438 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.4426, allocations: 0 / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.4714, allocations: 1.158 MB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.503, allocations: 5.359 kB / 1.354 GB, free: 3.434 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.753683649934828]