Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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.001393/0.001393, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001438/0.001438, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.938/2.938, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] 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.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",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.002059/0.002059, allocations: 63.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.127, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003389/1.13, allocations: 1.453 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007397/1.131, allocations: 246.5 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/1.131, allocations: 5.062 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/1.131, allocations: 4.656 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/1.131, allocations: 5.031 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/1.131, allocations: 61.84 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.238e-05/1.131, allocations: 20.23 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/1.132, allocations: 3.547 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/1.132, allocations: 9.656 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/1.132, allocations: 13.53 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/1.132, allocations: 2.094 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/1.132, allocations: 61.55 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/1.132, allocations: 9.781 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/1.132, allocations: 11.61 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/1.132, allocations: 57.61 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.132, allocations: 0.6562 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.132, allocations: 0.9062 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.132, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9981 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.000606/1.133, allocations: 344.1 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.133, allocations: 10 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.579e-05/1.133, allocations: 4.188 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/1.133, allocations: 32.61 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/1.133, allocations: 2.062 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.133, allocations: 163 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.133, allocations: 5.594 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/1.133, allocations: 5.938 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.133, allocations: 56.89 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.133, allocations: 0 / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.133, allocations: 0.8438 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.133, allocations: 1.062 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/1.134, allocations: 40.12 kB / 1.281 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/1.134, allocations: 250.8 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.134, allocations: 36.11 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.134, allocations: 23.67 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008417/1.135, allocations: 454 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.135, allocations: 31.62 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.135, allocations: 3.938 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000398/1.135, allocations: 84.44 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.136, allocations: 52.11 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/1.136, allocations: 101.6 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.136, allocations: 25.7 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/1.136, allocations: 86.05 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.136, allocations: 5.266 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/1.136, allocations: 17.2 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.136, allocations: 317.8 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/1.136, allocations: 13.25 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/1.136, allocations: 21.44 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.136, allocations: 45.31 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.136, allocations: 4.062 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002263/1.137, allocations: 63.78 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.137, allocations: 5.5 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.137, allocations: 0.7969 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.137, allocations: 0.6875 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/1.137, allocations: 8.516 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.137, allocations: 0.6875 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/1.137, allocations: 10.14 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/1.137, allocations: 1 kB / 1.283 GB, free: 8.211 MB / 0.9981 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 0.0001041/1.137, allocations: 116.2 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/1.137, allocations: 5.359 kB / 1.283 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/1.137, allocations: 71.22 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.137, allocations: 5.109 kB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.137, allocations: 0.5938 kB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.137, allocations: 4.531 kB / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.137, allocations: 160 kB / 1.283 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.137, allocations: 0.5312 kB / 1.283 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/1.137, allocations: 13.14 kB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.137, allocations: 0.5 kB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.137, allocations: 0.5 kB / 1.283 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.137, allocations: 4.438 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.137, allocations: 0.7969 kB / 1.283 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/1.138, allocations: 166.8 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/1.138, allocations: 78.94 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/1.138, allocations: 0.5625 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/1.138, allocations: 6.172 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.138, allocations: 6.719 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/1.138, allocations: 1.062 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.407e-05/1.138, allocations: 83.88 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.138, allocations: 4.531 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002695/1.138, allocations: 17.94 kB / 1.284 GB, free: 7.5 MB / 0.9981 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.0007669/1.139, allocations: 0.7169 MB / 1.284 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002472/1.139, allocations: 38.67 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.139, allocations: 3.938 kB / 1.285 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/1.139, allocations: 21.06 kB / 1.285 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/1.14, allocations: 8.953 kB / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/1.14, allocations: 152.2 kB / 1.285 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/1.14, allocations: 0.6755 MB / 1.285 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.295e-05/1.14, allocations: 1.875 kB / 1.285 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/1.14, allocations: 8.469 kB / 1.285 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.14, allocations: 1.062 kB / 1.285 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.159, allocations: 1.551 MB / 1.287 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/9.526, allocations: 12.66 kB / 1.287 GB, free: 5.523 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 16.09497752500465]