Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.002114/0.002114, allocations: 111.1 kB / 17.96 MB, free: 3.918 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.002345/0.002345, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.459/1.459, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7635 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.88 kB / 1.108 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7869, allocations: 168.7 MB / 1.272 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001723/0.7887, allocations: 0.5938 MB / 1.273 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.7891, allocations: 199.3 kB / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.7891, allocations: 0 / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.7892, allocations: 0 / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.7892, allocations: 4 kB / 1.273 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.7895, allocations: 56.33 kB / 1.273 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.509e-05/0.7895, allocations: 4 kB / 1.273 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.7896, allocations: 0 / 1.273 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.051e-05/0.7896, allocations: 3.938 kB / 1.273 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.7896, allocations: 7.969 kB / 1.273 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.7896, allocations: 4 kB / 1.273 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.7898, allocations: 51.95 kB / 1.273 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-06/0.7898, allocations: 0 / 1.273 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.7898, allocations: 4 kB / 1.273 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.7899, allocations: 41.64 kB / 1.273 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7899, allocations: 4 kB / 1.273 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7899, allocations: 0 / 1.273 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7899, allocations: 0 / 1.273 GB, free: 3.434 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.0003367/0.7903, allocations: 327.4 kB / 1.274 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7903, allocations: 12.03 kB / 1.274 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.7903, allocations: 30.75 kB / 1.274 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.978e-05/0.7903, allocations: 0.9375 kB / 1.274 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.7905, allocations: 164.4 kB / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.7905, allocations: 384 / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.7905, allocations: 4.375 kB / 1.274 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.7906, allocations: 30.27 kB / 1.274 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7906, allocations: 3.938 kB / 1.274 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.7906, allocations: 0 / 1.274 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7906, allocations: 0 / 1.274 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.7906, allocations: 3.938 kB / 1.274 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.7908, allocations: 149.7 kB / 1.274 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.7908, allocations: 18.56 kB / 1.274 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.7908, allocations: 8.859 kB / 1.274 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007513/0.7916, allocations: 457.6 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.7916, allocations: 34.55 kB / 1.275 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.7916, allocations: 0 / 1.275 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.7917, allocations: 41.58 kB / 1.275 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7917, allocations: 51.41 kB / 1.275 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.7918, allocations: 89.86 kB / 1.275 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.7918, allocations: 29.64 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.7918, allocations: 84.14 kB / 1.275 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.7919, allocations: 0 / 1.275 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.7919, allocations: 13.72 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.792, allocations: 319 kB / 1.275 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.792, allocations: 4 kB / 1.275 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-06/0.792, allocations: 3.938 kB / 1.275 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.7921, allocations: 4.859 kB / 1.275 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7921, allocations: 4 kB / 1.275 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.114e-05/0.7921, allocations: 33.64 kB / 1.275 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7921, allocations: 4 kB / 1.275 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7921, allocations: 3.938 kB / 1.275 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.7921, allocations: 96 / 1.275 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.7922, allocations: 12 kB / 1.275 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.7922, allocations: 0 / 1.275 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.7922, allocations: 3.984 kB / 1.275 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.7922, allocations: 0 / 1.275 GB, free: 1.199 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 6.97e-05/0.7923, allocations: 105.8 kB / 1.275 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.7923, allocations: 4 kB / 1.275 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.7923, allocations: 40.7 kB / 1.275 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7923, allocations: 3.984 kB / 1.275 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7923, allocations: 4.031 kB / 1.275 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7923, allocations: 0 / 1.275 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.7925, allocations: 149.7 kB / 1.276 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.7925, allocations: 0 / 1.276 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.7925, allocations: 8 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7925, allocations: 0 / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7925, allocations: 3.938 kB / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.7925, allocations: 0 / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7925, allocations: 0 / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.913e-05/0.7925, allocations: 61.12 kB / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.7926, allocations: 77.11 kB / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.7926, allocations: 7.938 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.7926, allocations: 0 / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.7926, allocations: 3.938 kB / 1.276 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.7926, allocations: 4 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.7927, allocations: 75.28 kB / 1.276 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.7927, allocations: 0 / 1.276 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002/0.7929, allocations: 15.92 kB / 1.276 GB, free: 0.5469 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.0004667/0.7933, allocations: 0.6093 MB / 1.276 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.7934, allocations: 19.91 kB / 1.276 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7934, allocations: 3.938 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.7934, allocations: 3.938 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.7935, allocations: 2.031 kB / 1.276 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.7938, allocations: 130.5 kB / 1.277 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.7941, allocations: 0.6729 MB / 1.277 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.759e-06/0.7941, allocations: 0 / 1.277 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.7941, allocations: 7.438 kB / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.7941, allocations: 4.125 kB / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.8151, allocations: 1.136 MB / 1.278 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.537, allocations: 4.844 kB / 1.278 GB, free: 13.94 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_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_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.502162153017707]