Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.00175/0.00175, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001551/0.001551, allocations: 210.3 kB / 23.04 MB, free: 5.082 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.352/3.352, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002051/0.002051, allocations: 69.86 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4347, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001956/0.4367, allocations: 0.5797 MB / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.4372, allocations: 211.7 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.4372, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.4372, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.4372, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.4377, allocations: 51.83 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.4377, allocations: 7.984 kB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.4377, allocations: 0 / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.4377, allocations: 0 / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.4378, allocations: 7.938 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.4378, allocations: 0 / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.438, allocations: 63.88 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.438, allocations: 3.938 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.438, allocations: 3.984 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.4381, allocations: 36.17 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4381, allocations: 4 kB / 1.346 GB, free: 15.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4381, allocations: 0 / 1.346 GB, free: 15.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4381, allocations: 0 / 1.346 GB, free: 15.51 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002913/0.4384, allocations: 239.6 kB / 1.347 GB, free: 15.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4384, allocations: 19.97 kB / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.285e-05/0.4385, allocations: 192 / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.4385, allocations: 30.75 kB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.4385, allocations: 0.9375 kB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.4386, allocations: 102.5 kB / 1.347 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.4386, allocations: 384 / 1.347 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4386, allocations: 4.375 kB / 1.347 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.4387, allocations: 34.02 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.4387, allocations: 0 / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.4387, allocations: 4 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4387, allocations: 4 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.4387, allocations: 7.984 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.4389, allocations: 116.7 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.4389, allocations: 18.58 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.4389, allocations: 8.953 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.4396, allocations: 79.84 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4396, allocations: 38.5 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4396, allocations: 0 / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.4398, allocations: 33.64 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4398, allocations: 51.41 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.4399, allocations: 93.98 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4399, allocations: 25.7 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.4399, allocations: 84.14 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.44, allocations: 3.953 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.44, allocations: 17.7 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4402, allocations: 310.8 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.4402, allocations: 4 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.4402, allocations: 0 / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.4402, allocations: 12.92 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4402, allocations: 0 / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.4403, allocations: 33.64 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4403, allocations: 7.938 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4403, allocations: 3.984 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4403, allocations: 0 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.4404, allocations: 4 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4404, allocations: 3.938 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.4404, allocations: 0 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.4404, allocations: 4.031 kB / 1.348 GB, free: 13.94 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 (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 9.74e-05/0.4405, allocations: 109.8 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4405, allocations: 7.938 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.4406, allocations: 36.69 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4406, allocations: 0 / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4406, allocations: 0 / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4406, allocations: 3.938 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4407, allocations: 116.8 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4407, allocations: 8.031 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.4407, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4407, allocations: 3.938 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.4407, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.4407, allocations: 3.984 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4407, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.584e-05/0.4408, allocations: 57.08 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-06/0.4408, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4408, allocations: 11.97 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.4408, allocations: 0 / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.4408, allocations: 11.98 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4409, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.4409, allocations: 75.28 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4409, allocations: 0 / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000204/0.4411, allocations: 15.94 kB / 1.348 GB, free: 13.41 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 (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.0005165/0.4416, allocations: 0.6201 MB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.4417, allocations: 4 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4417, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.4417, allocations: 8.031 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.4418, allocations: 3.984 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.4422, allocations: 114.5 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4425, allocations: 0.669 MB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.4425, allocations: 4 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.4426, allocations: 7.438 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4426, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.4645, allocations: 1.284 MB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.64, allocations: 13.11 kB / 1.351 GB, free: 10.73 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.846968221012503]