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.001299/0.001299, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001531/0.001531, allocations: 217 kB / 23.04 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.763/2.763, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 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.002012/0.002012, allocations: 62.94 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3855, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003342/0.3889, allocations: 1.452 MB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006489/0.3895, allocations: 243.2 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.3896, allocations: 4 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.3896, allocations: 7.922 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3897, allocations: 7.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.3901, allocations: 51.89 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.3902, allocations: 23.92 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.3903, allocations: 7.984 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.3903, allocations: 8 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.3904, allocations: 15.92 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3904, allocations: 0 / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.3906, allocations: 55.89 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.3906, allocations: 11.92 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3906, allocations: 15.92 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3908, allocations: 51.39 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.812 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.0005093/0.3913, allocations: 274.2 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3913, allocations: 12.03 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.3914, allocations: 192 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.3914, allocations: 34.75 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.3914, allocations: 0.9375 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3915, allocations: 114.5 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3916, allocations: 384 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.3916, allocations: 384 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3917, allocations: 57.97 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3918, allocations: 0 / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3918, allocations: 0 / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3918, allocations: 4 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.3919, allocations: 35.91 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.3923, allocations: 231.9 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3924, allocations: 34.56 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.3925, allocations: 24.91 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.3931, allocations: 79.91 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3932, allocations: 30.56 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3932, allocations: 3.938 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000379/0.3935, allocations: 85.67 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3936, allocations: 55.41 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.3937, allocations: 93.86 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3937, allocations: 25.7 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.3938, allocations: 88.14 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3938, allocations: 7.938 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3938, allocations: 13.72 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.394, allocations: 314.8 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.394, allocations: 16.02 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3941, allocations: 11.98 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3943, allocations: 52.69 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3943, allocations: 0 / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002217/0.3945, allocations: 69.72 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3945, allocations: 4 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3945, allocations: 0 / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3946, allocations: 0 / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.3946, allocations: 8 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3946, allocations: 7.922 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.3947, allocations: 4 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3947, allocations: 0 / 1.288 GB, free: 7.855 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.736e-05/0.3948, allocations: 117.8 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3948, allocations: 3.953 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3951, allocations: 76.89 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3951, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3951, allocations: 4 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3951, allocations: 0 / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3952, allocations: 132.6 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3952, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.3953, allocations: 12.02 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3953, allocations: 4 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3953, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3953, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3953, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3956, allocations: 167.4 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.3956, allocations: 8.031 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3956, allocations: 3.938 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.3957, allocations: 11.98 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3957, allocations: 4 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3957, allocations: 0 / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.3958, allocations: 87.45 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3958, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002423/0.396, allocations: 12 kB / 1.288 GB, free: 7.152 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.0007144/0.3968, allocations: 0.7164 MB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.397, allocations: 39.94 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.397, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.3971, allocations: 19.98 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3973, allocations: 6.328 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.3978, allocations: 149 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3982, allocations: 0.6768 MB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.3982, allocations: 3.984 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.3982, allocations: 11.44 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3982, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.421, allocations: 1.643 MB / 1.292 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 2.688 kB / 1.292 GB, free: 3.938 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.678910370974336]