Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001347/0.001347, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001562/0.001562, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.373/3.373, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 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.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",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.001993/0.001993, allocations: 66.58 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3944, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002818/0.3973, allocations: 1.455 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.3978, allocations: 243.3 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.3979, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.3979, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.3979, allocations: 3.938 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.3983, allocations: 63.81 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.3984, allocations: 23.92 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.3984, allocations: 0 / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.3985, allocations: 19.86 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.3985, allocations: 11.94 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3985, allocations: 8 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3987, allocations: 59.94 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3987, allocations: 3.984 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.3987, allocations: 7.938 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.3989, allocations: 60.06 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3989, allocations: 0 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3989, allocations: 0 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3989, allocations: 0 / 1.347 GB, free: 13.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004673/0.3993, allocations: 270.2 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3994, allocations: 12.03 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.209e-05/0.3994, allocations: 8.125 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.3994, allocations: 34.75 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.3994, allocations: 0.9375 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3996, allocations: 110.5 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3996, allocations: 384 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3996, allocations: 384 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3998, allocations: 53.98 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3998, allocations: 0 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.3998, allocations: 3.938 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3998, allocations: 7.984 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.4, allocations: 35.95 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.4003, allocations: 216 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4004, allocations: 38.62 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.4005, allocations: 20.84 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.4011, allocations: 79.91 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4011, allocations: 38.5 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.4011, allocations: 4 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000387/0.4015, allocations: 73.64 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4016, allocations: 51.41 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4017, allocations: 110 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.4017, allocations: 25.7 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.4017, allocations: 80.14 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4018, allocations: 7.953 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.4018, allocations: 13.72 kB / 1.348 GB, free: 12.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.402, allocations: 310.8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.4021, allocations: 23.97 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.4021, allocations: 15.92 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4023, allocations: 44.83 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4023, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002772/0.4026, allocations: 73.61 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4026, allocations: 7.938 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4026, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4026, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.4027, allocations: 20.02 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4027, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.4028, allocations: 4 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4028, allocations: 7.922 kB / 1.349 GB, free: 12 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 (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.818e-05/0.4028, allocations: 117.7 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.4029, allocations: 4 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4031, allocations: 68.97 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4031, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4031, allocations: 4.031 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4031, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4033, allocations: 132.7 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4033, allocations: 0 / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4034, allocations: 7.984 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4034, allocations: 0 / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4034, allocations: 4 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4034, allocations: 0 / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4034, allocations: 0 / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4037, allocations: 171.4 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.4037, allocations: 7.891 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.4037, allocations: 0 / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.4038, allocations: 7.984 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.4038, allocations: 4 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4038, allocations: 0 / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.4039, allocations: 83.28 kB / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4039, allocations: 0 / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002476/0.4041, allocations: 15.98 kB / 1.35 GB, free: 11.3 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 (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.0007856/0.4049, allocations: 0.7123 MB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.4051, allocations: 35.95 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4051, allocations: 4.094 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.4052, allocations: 15.98 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4054, allocations: 8 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.4059, allocations: 147 kB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.999e-05/0.406, allocations: 55.36 kB / 1.35 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.406, allocations: 7.938 kB / 1.35 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.406, allocations: 11.75 kB / 1.35 GB, free: 10.22 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.406, allocations: 11.94 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.4299, allocations: 1.698 MB / 1.352 GB, free: 8.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.13, allocations: 6.062 kB / 1.352 GB, free: 8.652 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.21720167004969]