Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001821/0.001821, allocations: 108.9 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.002202/0.002202, allocations: 216.2 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.781/2.781, allocations: 476.7 MB / 0.7672 GB, free: 5.191 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002099/0.002099, allocations: 67.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8044, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002861/0.8072, allocations: 1.459 MB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005625/0.8078, allocations: 259.2 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.8078, allocations: 0 / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.8078, allocations: 0 / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.8079, allocations: 19.86 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.8082, allocations: 55.81 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.8083, allocations: 20 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.8084, allocations: 3.984 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.8084, allocations: 15.92 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.8085, allocations: 15.92 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.8085, allocations: 0 / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.8086, allocations: 55.94 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.8086, allocations: 8 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.8087, allocations: 7.938 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.8088, allocations: 61.55 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8088, allocations: 4 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8088, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8088, allocations: 0 / 1.28 GB, free: 11.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004875/0.8093, allocations: 343.4 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8094, allocations: 12.03 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.8094, allocations: 30.75 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.8094, allocations: 4.938 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8095, allocations: 164.4 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8096, allocations: 4.375 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.8096, allocations: 384 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.8097, allocations: 50.23 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.8098, allocations: 3.938 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.8098, allocations: 3.938 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8098, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.8099, allocations: 35.95 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.8103, allocations: 248.9 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.8104, allocations: 42.53 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.8105, allocations: 20.91 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.8112, allocations: 461.5 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.8113, allocations: 34.5 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.8113, allocations: 3.984 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003724/0.8116, allocations: 81.64 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.8117, allocations: 59.47 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.8118, allocations: 101.8 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.8118, allocations: 25.7 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.8118, allocations: 84.08 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.8119, allocations: 11.94 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.8119, allocations: 13.72 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.812, allocations: 314.8 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.8121, allocations: 27.91 kB / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.8122, allocations: 15.92 kB / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.8124, allocations: 36.83 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8124, allocations: 3.938 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.8126, allocations: 69.72 kB / 1.282 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8126, allocations: 4 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8126, allocations: 0 / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8126, allocations: 0 / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.8127, allocations: 11.98 kB / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.8127, allocations: 0 / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.8127, allocations: 8 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.8128, allocations: 0 / 1.282 GB, free: 8.863 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 (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 8.668e-05/0.8128, allocations: 120.1 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.8129, allocations: 11.98 kB / 1.283 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.8131, allocations: 68.78 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8131, allocations: 0 / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8131, allocations: 0 / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8131, allocations: 4 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.8133, allocations: 165.6 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8133, allocations: 0 / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.8134, allocations: 4 kB / 1.283 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.8134, allocations: 4.031 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.8134, allocations: 0 / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8134, allocations: 4 kB / 1.283 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8134, allocations: 0 / 1.283 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.8136, allocations: 163.4 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.8137, allocations: 85.09 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.8137, allocations: 4.031 kB / 1.283 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.8138, allocations: 4 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.8138, allocations: 3.984 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.8138, allocations: 0 / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.8139, allocations: 79.28 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8139, allocations: 0 / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.8141, allocations: 19.94 kB / 1.283 GB, free: 8.035 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 (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.0006866/0.8148, allocations: 0.7206 MB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.815, allocations: 47.94 kB / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.815, allocations: 0 / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.8151, allocations: 19.97 kB / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.8154, allocations: 4 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.8158, allocations: 142.9 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.8161, allocations: 0.6808 MB / 1.285 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.067e-05/0.8161, allocations: 3.938 kB / 1.285 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.8162, allocations: 11.44 kB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8162, allocations: 0 / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.841, allocations: 1.521 MB / 1.286 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.994, allocations: 7.5 kB / 1.286 GB, free: 4.859 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.216345357941464]